0.0.1 • Published 3 years ago
ink-component v0.0.1
Getting Started
npm install ink-component / yarn add ink-component
Quick Start
...
import { Button } from 'ink-component'
...
function App() {
return (
...
<Button title="Click Me!" />
...
)
}
Button Props
Name | Type | Default | Required |
---|---|---|---|
title | string | - | yes |
type | string | 'button' | no |
onClick | func | () => {} | no |
Notes
- Compatible with Create React App
- Compatible with Next.js (already tested on next.js version 10.0.1)
0.0.1
3 years ago