Last active
January 3, 2019 14:52
-
-
Save nicokoelewijn/b0c11ba87bee25f2e931991c6798dc9e to your computer and use it in GitHub Desktop.
functional component template
This file contains hidden or 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
| import React, { FunctionComponent } from 'react'; | |
| import Styled$@ from './style'; | |
| type PropsType = {}; | |
| const $@: FunctionComponent<PropsType> = (props): JSX.Element => ( | |
| <Styled$@> | |
| {props.children} | |
| </Styled$@> | |
| ); | |
| export default $@; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment