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.
47 lines (46 loc) • 1.34 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import { slide } from 'svelte/transition';
import type { TransitionParams } from '../types/index.js';
declare const __propDef: {
props: {
[x: string]: any;
name?: string | undefined;
value?: any;
group?: any;
open?: boolean | undefined;
popout?: boolean | undefined;
disabled?: boolean | undefined;
icon?: string | undefined;
transition?: typeof slide | undefined;
transitionParams?: TransitionParams | undefined;
classes?: {
root?: string;
trigger?: string;
icon?: string;
content?: string;
} | undefined;
list?: "type" | "parent" | "group" | undefined;
};
events: {
change: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
trigger: {
open: boolean;
};
icon: {
open: boolean;
};
default: {
open: boolean;
};
};
};
export type CollapseProps = typeof __propDef.props;
export type CollapseEvents = typeof __propDef.events;
export type CollapseSlots = typeof __propDef.slots;
export default class Collapse extends SvelteComponentTyped<CollapseProps, CollapseEvents, CollapseSlots> {
}
export {};