mirror of
https://github.com/supabase/supabase.git
synced 2026-09-09 03:19:36 +08:00
## Problem The `_Shadcn_` suffix isn't needed anymore on `<Toggle__Shadcn_>` ## Solution Remove it. No other changes <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **Refactor** * Updated Toggle component examples and standardized exports * Simplified export structure for improved consistency * All existing Toggle component functionality maintained <!-- review_stack_entry_start --> [](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/45970) <!-- review_stack_entry_end --> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
11 lines
236 B
TypeScript
11 lines
236 B
TypeScript
import { Underline } from 'lucide-react'
|
|
import { Toggle } from 'ui'
|
|
|
|
export default function ToggleDisabled() {
|
|
return (
|
|
<Toggle aria-label="Toggle underline" disabled>
|
|
<Underline className="h-4 w-4" />
|
|
</Toggle>
|
|
)
|
|
}
|