0.2.0 • Published 3 years ago
@blangka/test v0.2.0
@blangka/test
This is a template of blangka-test for react.
Install
npm install @blangka/testUsage
import { TestButton01 } from "@blangka/test";
const Test = () => {
return (
<div>
<TestButton01 size={20} isButton={false} />
</div>
);
};Button pages
Props
TestButton01
| props | type | |
|---|---|---|
| size | number | required |
| onButtonClick | () => void | optional |
| isButton | boolean | optional |
| buttonLabel | string | optional |
| buttonColor | string | optional(ex:#ffffff) |
TestButton02
| props | type | |
|---|---|---|
| size | number | required |
| onButtonClick | () => void | optional |
| isButton | boolean | optional |
| buttonLabel | string | optional |
| buttonColor | string | optional(ex:#ffffff) |
| color | string | optional(ex:#ffffff) |
License
MIT