Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erkobridee/6a0662be63ed91a11f64e22c09119a84 to your computer and use it in GitHub Desktop.
Save erkobridee/6a0662be63ed91a11f64e22c09119a84 to your computer and use it in GitHub Desktop.
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