@airscompany/genesis
AIRS 컴퍼니가 제공하는 제네시스 테마의 React 컴포넌트 입니다.
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 |