Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- snippet react-functional-component
- alias rfc
- abbr React.FC<T> = (p): JSX.Element => {..}
- options head
- import React from 'react';
- interface ${1:component-name}Props{
- ${2}
- }
- export const $1: React.FC<$1Props> = (props): JSX.Element => {
- const {${3}} = props;
- return (
- ${4}
- );
- };
- export default $1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement