File size: 1,122 Bytes
bc20498 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
import { SvelteComponent } from "svelte";
import type { Events, Props } from "../types.js";
declare const __propDef: {
props: Props;
slots: {
default: {
builder: {
readonly 'data-disabled': true | undefined;
readonly disabled: true | undefined;
readonly 'data-state': "checked" | "unchecked";
readonly type: "button";
readonly role: "switch";
readonly 'aria-checked': "false" | "true";
readonly 'aria-required': "true" | undefined;
} & {
[x: `data-melt-${string}`]: "";
} & {
action: <Node_1 extends unknown>(node: HTMLElement) => import("@melt-ui/svelte/internal/types").MeltActionReturn<"keydown" | "click">;
};
};
};
events: Events;
};
export type SwitchProps = typeof __propDef.props;
export type SwitchEvents = typeof __propDef.events;
export type SwitchSlots = typeof __propDef.slots;
export default class Switch extends SvelteComponent<SwitchProps, SwitchEvents, SwitchSlots> {
}
export {};
|