UNPKG

bits-ui

Version:

The headless components for Svelte.

32 lines (31 loc) 1.31 kB
import { SvelteComponent } from "svelte"; import type { TriggerEvents, TriggerProps } from "../index.js"; declare const __propDef: { props: TriggerProps; slots: { default: { builder: { 'aria-label': string; 'data-segment': string; disabled: boolean | undefined; 'data-state': "open" | "closed"; 'aria-expanded': "true" | "false"; 'aria-controls': string; role: "button"; id: string; 'aria-haspopup': "dialog"; } & { "data-melt-popover-trigger": ""; } & { action: (node: HTMLElement) => import("@melt-ui/svelte/internal/types").MeltActionReturn<import("@melt-ui/svelte/dist/builders/date-range-picker/events.js").DateRangePickerEvents["trigger"]>; }; }; }; events: TriggerEvents; }; export type DateRangePickerTriggerProps = typeof __propDef.props; export type DateRangePickerTriggerEvents = typeof __propDef.events; export type DateRangePickerTriggerSlots = typeof __propDef.slots; export default class DateRangePickerTrigger extends SvelteComponent<DateRangePickerTriggerProps, DateRangePickerTriggerEvents, DateRangePickerTriggerSlots> { } export {};