@kamrade/svelte-dynamic-button
Version:
A simple button template that supports a flexible set of themes, variants, sizes and shapes. You can find usage examples (MagicButton and SimpleButton components) in the repository.
27 lines (26 loc) • 741 B
TypeScript
import { SvelteComponent } from "svelte";
import type { ISimpleButtonProps } from './SimpleButton.js';
declare const __propDef: {
props: {
[x: string]: any;
props?: ISimpleButtonProps | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
prefix: {
slot: string;
};
suffix: {
slot: string;
};
default: {};
};
};
export type SimpleButtonProps = typeof __propDef.props;
export type SimpleButtonEvents = typeof __propDef.events;
export type SimpleButtonSlots = typeof __propDef.slots;
export default class SimpleButton extends SvelteComponent<SimpleButtonProps, SimpleButtonEvents, SimpleButtonSlots> {
}
export {};