-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
✨ Type: EnhancementNew enhancement on existing codebaseNew enhancement on existing codebase📦 Scope : ComponentsRelated to the componentsRelated to the components
Description
NextUI Version
2.4.8
Describe the bug
<Switch onClick={() => theme === "light" ? setTheme("dark") : setTheme("light") } defaultSelected size="lg" color="primary" startContent={<SunIcon />} endContent={<MoonIcon />} className="border-1" ></Switch>
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Code above
Expected behavior
Should be no more width
Screenshots or Videos
No response
Operating System Version
macOS, Windows
Browser
Chrome
Metadata
Metadata
Assignees
Labels
✨ Type: EnhancementNew enhancement on existing codebaseNew enhancement on existing codebase📦 Scope : ComponentsRelated to the componentsRelated to the components