UNPKG

svelte-ux

Version:

A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.

51 lines (50 loc) 1.73 kB
import { SvelteComponentTyped } from "svelte"; import { type ComponentProps } from 'svelte'; type TimelineContext = { vertical: boolean; compact: boolean; icon: ComponentProps<Icon>['icon']; snapPoint: boolean; }; export declare function setTimeline(value: TimelineContext | undefined): void; export declare function getTimeline(): TimelineContext | undefined; import TimelineEvent from './TimelineEvent.svelte'; import Icon from './Icon.svelte'; declare const __propDef: { props: { [x: string]: any; data?: { start?: string | number | boolean; end?: string | number | boolean; icon?: ComponentProps<Icon>["data"]; completed?: boolean; }[] | undefined; vertical?: boolean | undefined; compact?: boolean | undefined; icon?: string | import("@fortawesome/fontawesome-common-types").IconDefinition | null | undefined; snapPoint?: boolean | undefined; classes?: { root?: string; event?: ComponentProps<TimelineEvent>["classes"]; } | undefined; }; events: { [evt: string]: CustomEvent<any>; }; slots: { default: { data: { start?: string | number | boolean; end?: string | number | boolean; icon?: ComponentProps<Icon>["data"]; completed?: boolean; }[]; }; }; }; export type TimelineProps = typeof __propDef.props; export type TimelineEvents = typeof __propDef.events; export type TimelineSlots = typeof __propDef.slots; export default class Timeline extends SvelteComponentTyped<TimelineProps, TimelineEvents, TimelineSlots> { } export {};