@tchvan/primereact-theme-sidebar
v1.0.27
Published
Prime react theme selection sidebar
Readme
npm i @tchvan/primereact-theme-sidebar
in file where render : import { ThemeContextProvider } from "@tchvan/primereact-theme-sidebar"
Then wrap this below html:
in file where to render the Theme Button: import { ButtonAndSidebar } from "@tchvan/primereact-theme-sidebar"
copy node_modules/@tchvan/primereact-theme-sidebar/dist/themes folder in to your public folder
add this line into your , href is your referred start up theme:
generate these tailwind class (how to do this better?):
