Created
January 21, 2020 10:41
-
-
Save DmitryOlkhovoi/33f7cfe1152be26e61665ac9ad289b60 to your computer and use it in GitHub Desktop.
This file contains 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 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