UNPKG

quarkd

Version:

Mobile UI Components built on Web Components.

32 lines (31 loc) 687 B
import { QuarkElement } from "quarkc"; import "../loading"; export interface Props { checked?: boolean; disabled?: boolean; loading?: boolean; size?: number; color?: string; inactivecolor?: string; beforechange?: string; } export interface CustomEvent { change: (e: { detail: { value: boolean; }; }) => void; } declare class QuarkSwitch extends QuarkElement { disabled: boolean; checked: boolean; loading: boolean; size: string; color: string; inactivecolor: string; name: string; beforechange: string; handleChange: () => Promise<void>; render(): any; } export default QuarkSwitch;