nka-library
v0.1.4
Published
NKA Library
Readme
NKA Library
A library of React components for rapid interface development.
Installation
npm install nka-library
# or
yarn add nka-libraryUsage
import { Button } from "nka-library";
function App() {
return (
<div>
<Button variant="primary" size="medium" onClick={() => alert("Click!")}>
Click me
</Button>
</div>
);
}Available Components
Button
A button component with different variants and sizes.
Properties
| Property | Type | Default | Description | | -------- | ------------------------------------- | --------- | -------------------- | | variant | 'primary' | 'secondary' | 'outline' | 'primary' | Button style variant | | size | 'small' | 'medium' | 'large' | 'medium' | Button size |
All standard properties of the HTML button element are also supported.
Development
- Clone the repository // english
