1.0.2 • Published 3 years ago
smg-dev-template-ts v1.0.2
Installation
npm i smg-dev-template
Usage
import { SmgButton } from 'smg-dev-template';
<SmgButton>Hello</SmgButton>;
<SmgButton color="yellow" fontSize="5">
Hello
</SmgButton>;
API
Props
Prop | Default | Description |
---|---|---|
color | red | text color |
fontSize | 3 | font size in em |