Getting started
Use the following command or its equivalent for your package manager to install @kaynora/ui.
npm install @kaynora/ui
The index.css file will set baseline styles and should be imported in the root of your application.
import '@kaynora/ui/dist/index.css'
The data-theme attribute must be set on the document root in order for the library's
styling to work. Accepted values for this attribute are 'light' and 'dark'.
export default function () { return ( <html data-theme='light'> <body> <App /> </body> </html> ) }