0.1.6 • Published 2 years ago
@dmaksimyk/ui v0.1.6
About
This library is not meant to be used by everyone, as this library was developed for my own projects, and may be suitable for you.
Installation
yarn add @dmaksimyk/ui // The library is under development and is not yet available for download.
Usage
//...
import { Icon, Button } from '@dmaksimyk/ui'; // import lib
import { BsFillAlarmFill } from 'react-icons/bs'; // your icon
// ...
// your component
const Component = () => {
<>
<Button>Default button</Button>
<Button icon={<Icon src={<BsFillAlarmFill />} />}>
Icon default button
</Button>
</>;
};
Important
The library is under development and does not guarantee 100% performance.