0.0.3 • Published 2 years ago
@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 |