fix(ui): annotate sandbox switch extension

This commit is contained in:
Marius
2026-06-23 21:22:42 +02:00
parent d2dd905434
commit 8aedf6fa5b
+3 -4
View File
@@ -9,10 +9,9 @@ export interface SwitchProps extends ParentProps<ComponentProps<typeof Kobalte>>
}
export function Switch(props: SwitchProps) {
const [local, others] = splitProps(
props,
["children", "class", "hideLabel", "description", "inputProps"], // kilocode_change
)
// kilocode_change start
const [local, others] = splitProps(props, ["children", "class", "hideLabel", "description", "inputProps"])
// kilocode_change end
return (
<Kobalte {...others} class={local.class} data-component="switch">
<Kobalte.Input {...local.inputProps} data-slot="switch-input" /> {/* kilocode_change */}