Skip to content

Instantly share code, notes, and snippets.

@DmitryOlkhovoi
Created January 21, 2020 10:41
Show Gist options
  • Save DmitryOlkhovoi/33f7cfe1152be26e61665ac9ad289b60 to your computer and use it in GitHub Desktop.
Save DmitryOlkhovoi/33f7cfe1152be26e61665ac9ad289b60 to your computer and use it in GitHub Desktop.
import React, { FunctionComponent } from 'react';
export interface ButtonProps {
}
const Button: FunctionComponent<ButtonProps> = (props) => {
return (
<button className="btn">props.children</button>
);
}
export default Button;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment