Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Pavel Abdrashitov
Added: Jan 11, 2021 2:07 AM
Modified: Jan 27, 2021 5:33 AM
Views: 8
Tags: typescript
  1. import React from 'react';
  2.  
  3. interface Props {
  4.   propsName: any;
  5. }
  6.  
  7. const Component = (props: Props) => {
  8.   const someConst = props.propsName;
  9.   return (
  10.     <React.Fragment>
  11.      
  12.     </React.Fragment>
  13.   )  
  14. };
  15.  
  16. export default Component;