react-button-from-jinsunee
v1.0.4
Published
react + emotion + rollup ===> npm에 Button 라이브러리 배포해보기
Downloads
1
Readme
react-button-from-jinsunee
react + emotion + rollup ===> npm에 Button 라이브러리 배포해보기
Install
yarn add react-button-from-jinsunee
or
npm install react-button-from-jinsunee
Props
| props | type | | ------- | ---------- | | text | string | | onClick | () => void |
Example
import './App.css';
import {Button} from 'react-button-from-jinsunee'
function App() {
return (
<div className="App">
<div className="button">
<Button text="Hi Febase :)" onClick={() => alert('버튼입니다')} />
</div>
</div>
);
}
export default App;