sabai-ui-dev
v1.0.0-beta-17
Published
A React sample component ui for frontend web development
Downloads
714
Readme
Sabai UI
Installation
With Yarn:
yarn add sabai-ui-dev
With npm:
npm install --save sabai-ui-dev
Usage
Some component has their own default properties. You can overwrite the defaults by passing props into the components.
Example
import React from 'react';
import { Button } from "sabai-ui-dev";
const App = () => {
return (
<div className="container mx-auto bg-white">
<div className="px-20 py-20 flex flex-col gap-4">
<Button colorScheme="secondary" variant="solid" icon="student" iconSize={24}>Sample Button</Button>
</div>
</div>
)
}
export default App;