@yorkie-ui/core
v0.5.33-rc3
Published
`@yorkie-ui/core` is a component library for React. It provides a basic set of styles and components that can be used to build [homepage and dashboard](https://yorkie.dev) of Yorkie.
Downloads
7
Readme
@yorkie-ui/core
@yorkie-ui/core
is a component library for React. It provides a basic set of styles and components that can be used to build homepage and dashboard of Yorkie.
Installation
npm install @yorkie-ui/core
Usage
Import the styles and components you need from @yorkie-ui/core
:
// import the styles
import '@yorkie-ui/core/dist/styles.css';
// import button component
import { Button } from '@yorkie-ui/core';
const App = () => (
<Button
variant="outline"
onClick={() => {
console.log('click!');
}}
>
Click me
</Button>
);