Closed AbrahamDN closed 1 year ago
Hey @AbrahamDN the lowercase button is the styles function which you can use in any framework, it is the tailwind-variants function https://github.com/nextui-org/nextui/blob/main/packages/core/theme/src/components/button.ts
You can find those declarations in the repository by clicking here:
NextUI Version
2.1.10
Describe the bug
The Button component is exported in lowercase on
@nextui-org/react
, can't directly use it as a component this way.Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Just try to import Button on your NextJS app (13.4.19)
Expected behavior
I expected
import { Button }
but instead I getimport { button }"
^ Similar with ButtonGroup too.Screenshots or Videos
Operating System Version
Windows 11 Home
Browser
Chrome