1.0.5 • Published 4 months ago

@tchvan/primereact-navbar v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

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?):

THIS IS NOT TRUE CAUSE: if it says useContext(null) when used : the (types) folder need to stay inside src folder