Skip to content

Instantly share code, notes, and snippets.

@nicokoelewijn
Last active January 3, 2019 14:52
Show Gist options
  • Select an option

  • Save nicokoelewijn/b0c11ba87bee25f2e931991c6798dc9e to your computer and use it in GitHub Desktop.

Select an option

Save nicokoelewijn/b0c11ba87bee25f2e931991c6798dc9e to your computer and use it in GitHub Desktop.
functional component template
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