@swc-react/switch
Version:
React and Next.js wrapper of the @spectrum-web-components/switch component
4 lines (3 loc) • 750 B
TypeScript
export declare const Switch: import("react").ComponentType<Omit<import("react").HTMLAttributes<import("switch/src/Switch.js").Switch>, "size" | "change" | "disabled" | "checked" | "name" | "readonly" | "inputElement" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "connectedCallback" | "disconnectedCallback" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "emphasized" | "focusElement" | "selfManageFocusElement" | "renderOptions" | "isLTR" | "hasVisibleFocusInTree" | "handleChange"> & {
change?: ((e: Event) => void) | undefined;
} & Partial<Omit<import("switch/src/Switch.js").Switch, keyof HTMLElement>> & import("react").RefAttributes<import("switch/src/Switch.js").Switch>>;