mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 21:29:08 +03:00
## Problem The `_Shadcn_` suffix isn't needed anymore on label component ## Solution Remove it. No other changes <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Standardized Label usage across the codebase by removing the legacy alias and using the direct Label export from the UI package consistently. * **Documentation** * Updated component examples and docs to use the standardized Label component in usage snippets and demos. <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/45986) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
11 lines
248 B
TypeScript
11 lines
248 B
TypeScript
import { Label, Switch } from 'ui'
|
|
|
|
export default function SwitchDemo() {
|
|
return (
|
|
<div className="flex items-center space-x-2">
|
|
<Switch id="airplane-mode" />
|
|
<Label htmlFor="airplane-mode">Airplane Mode</Label>
|
|
</div>
|
|
)
|
|
}
|