@airscompany/genesis
v0.0.3
Published
AIRs component of genesis
Downloads
5
Maintainers
Readme
@airscompany/genesis
Install
npm i @airscompany/genesis
Usage
import { Button } from '@airscompany/genesis';
const Header = () => {
return (
<div>
<Button size={20} />
</div>
);
};
Components
Props
Button
| props | type | | | --------------- | ---------- | ----------------- | | label | string | required | | backgroundColor | string | optional(#ffffff) | | fontColor | string | optional(#ffffff) | | fontSize | number | optional | | onClick | () => void | required | | disabled | boolean | optional |
SpeechBubble
| props | type | | | --------------- | ------------------- | ----------------- | | type | string(left, right) | required | | label | string | required | | backgroundColor | string | optional(#ffffff) | | fontColor | string | optional(#ffffff) | | fontSize | number | optional |