Files
shadcn-ui/apps/www/registry/default/examples/toggle-with-text.tsx
shadcn 05145e66d3 feat: refactor registry (#6071)
* feat(www): add login blocks

* chore(www): restructure for blocks

* chore: build registry

* chore: clean up chunks

* fix(www): chart categories

* feat(www): big registry refactor

* feat(www): update blocks

* feat: complex blocks

* fix: update schema

* feat: sync new-york and default

* fix: lint

* feat: move charts

* fix(www): code

* fix: src path

* chore: rebuild registry

* fix: screenshot

* fix: set new-york as default
2024-12-14 14:52:55 +04:00

13 lines
238 B
TypeScript

import { Italic } from "lucide-react"
import { Toggle } from "@/registry/default/ui/toggle"
export default function ToggleWithText() {
return (
<Toggle aria-label="Toggle italic">
<Italic />
Italic
</Toggle>
)
}