Last active
January 13, 2020 12:56
-
-
Save thattimc/7e9370fab6cc5622223325d71ab1b5b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsx jsx */ | |
import { jsx } from '@emotion/core'; | |
import { Box } from '@chakra-ui/core'; | |
import PropTypes from 'prop-types'; | |
import React from 'react'; | |
function Template({ children, ...props }) { | |
return ( | |
<React.Fragment> | |
<Box {...props}>{children}</Box> | |
</React.Fragment> | |
); | |
} | |
Template.defaultProps = {}; | |
Template.propTypes = { | |
children: PropTypes.node.isRequired, | |
}; | |
export default Template; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment