svelte-ux
Version:
- Increment version in `package.json` and commit as `Version bump to x.y.z` - `npm run publish`
41 lines (40 loc) • 1.16 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { Actions } from '../actions/multi';
declare const __propDef: {
props: {
[x: string]: any;
type?: 'button' | 'submit' | 'reset';
href?: string | undefined;
target?: string | undefined;
fullWidth?: boolean;
icon?: string | undefined;
iconOnly?: boolean;
actions?: Actions<HTMLAnchorElement | HTMLButtonElement>;
small?: boolean;
filled?: boolean;
loading?: boolean;
circle?: boolean;
base?: boolean;
color?: string | undefined;
disabled?: boolean;
classes?: {
root?: string;
icon?: string;
loading?: string;
};
};
events: {
click: MouseEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export type ButtonProps = typeof __propDef.props;
export type ButtonEvents = typeof __propDef.events;
export type ButtonSlots = typeof __propDef.slots;
export default class Button extends SvelteComponentTyped<ButtonProps, ButtonEvents, ButtonSlots> {
}
export {};