mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-30 17:14:40 +08:00
fix(ui): annotate sandbox switch extension
This commit is contained in:
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user