0.0.10 • Published 10 months ago
chrono-ui-2 v0.0.10
@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/styles.css';
// import button component
import { Button } from '@yorkie-ui/core';
const App = () => (
<Button
variant="outline"
onClick={() => {
console.log('click!');
}}
>
Click me
</Button>
);