1.0.4 • Published 3 years ago

react-button-from-jinsunee v1.0.4

Weekly downloads
151
License
MIT
Repository
-
Last release
3 years ago

react-button-from-jinsunee

react + emotion + rollup ===> npm에 Button 라이브러리 배포해보기

화면 기록 2021-02-25 오후 6 57 46

Install

yarn add react-button-from-jinsunee

or

npm install react-button-from-jinsunee

Props

propstype
textstring
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;