Created
May 12, 2022 12:58
-
-
Save erkobridee/6a0662be63ed91a11f64e22c09119a84 to your computer and use it in GitHub Desktop.
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 * as React from 'react'; | |
export interface ComponentNameProps { | |
className?: string; | |
// other properties | |
} | |
export const ComponentName: React.FunctionComponent<ComponentNameProps> = ({ className }) => { | |
// internal logic | |
return ( | |
<div className={className}> | |
component UI | |
</div> | |
); | |
} | |
export default ComponentName; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment