![Notion-ui logo](https://user-images.githubusercontent.com/11402468/85220166-61073880-b3e4-11ea-9d15-405566a19757.png)
Notion-UI
Installation
Notion-UI is available as an npm package.
// with yarn
yarn add notion-ui
Usage
Here is a quick example to get you started, it's all you need:
import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'notion-ui';
function App() {
return (
<Button
onClick={() => console.log('click')}
buttonType="Primary">
Primary
</Button>
)
}
ReactDOM.render(<App />, document.querySelector('#app'));
Yes, it's really all you need to get started as you can see in this storybook:
![Storybook logo](https://s3.amazonaws.com/media-p.slid.es/uploads/436673/images/3997457/1-9BC0VVlPQpTgdmt6z8fIuQ.png)
Examples
Noticon
: a icon storage for notion repository
License
This project is licensed under the terms of the
MIT license.