@highoutput/hds-switch
v0.2.6
Published
We aim to build a library of custom ReactJS components that implements our unique UI design conventions. The ReactJS components will be based primarily on Chakra UI components. React Storybook will be used for documentation and testing.
Downloads
31
Keywords
Readme
Getting started
We aim to build a library of custom ReactJS components that implements our unique UI design conventions. The ReactJS components will be based primarily on Chakra UI components. React Storybook will be used for documentation and testing.
Commands
To install the package, use:
npm i @highoutput/hds-switchUsage
import { Switch } from "@highoutput/hds-switch";
import { ThemeProvider } from "@highoutput/hds";
export default function Example() {
return (
<ThemeProvider>
<Switch label="Hello" hint="world" onCheck={function noop(isChecked) {}} />
</ThemeProvider>
);
}