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.
39 lines (38 loc) • 1.14 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { Schema } from 'zod';
declare const __propDef: {
props: {
[x: string]: any;
initial?: any;
schema?: Schema<any, import("zod").ZodTypeDef, any> | undefined;
class?: string | undefined | undefined;
action?: string | undefined | undefined;
method?: "post" | "get" | "dialog" | undefined | undefined;
};
events: {
change: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {
state: any;
draft: any;
errors: {
[key: string]: string;
};
commit: () => boolean;
revert: () => void;
revertAll: () => void;
undo: () => void;
refresh: () => void;
current: any;
};
};
};
export type FormProps = typeof __propDef.props;
export type FormEvents = typeof __propDef.events;
export type FormSlots = typeof __propDef.slots;
export default class Form extends SvelteComponentTyped<FormProps, FormEvents, FormSlots> {
}
export {};