react-button-from-jinsunee

1.0.4 • Public • Published

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

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;

Readme

Keywords

none

Package Sidebar

Install

npm i react-button-from-jinsunee

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

93.6 kB

Total Files

15

Last publish

Collaborators

  • jinsunee