SHARE
TWEET

Untitled

a guest Apr 24th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. snippet    react-functional-component
  2. alias      rfc
  3. abbr       React.FC<T> = (p): JSX.Element => {..}
  4. options    head
  5.   import React from 'react';
  6.  
  7.   interface ${1:component-name}Props{
  8.     ${2}
  9.   }
  10.  
  11.   export const $1: React.FC<$1Props> = (props): JSX.Element => {
  12.     const {${3}} = props;
  13.  
  14.     return (
  15.       ${4}
  16.     );
  17.   };
  18.  
  19.   export default $1;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top