fluent-svelte-extra
Version:
A faithful implementation of Microsoft's Fluent Design System in Svelte.
31 lines (30 loc) • 1.01 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
[x: string]: any;
variant?: "standard" | "accent" | "hyperlink";
href?: string;
disabled?: boolean;
class?: string;
element?: HTMLElement;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export declare type ButtonProps = typeof __propDef.props;
export declare type ButtonEvents = typeof __propDef.events;
export declare type ButtonSlots = typeof __propDef.slots;
/**
* A button gives the user a way to trigger an immediate action. Some buttons are specialized for particular tasks, such as navigation, repeated actions, or presenting menus. [Docs](https://fluent-svelte.vercel.app/docs/components/button)
* - Usage:
* ```tsx
* <Button>Click me!</Button>
* ```
*/
export default class Button extends SvelteComponentTyped<ButtonProps, ButtonEvents, ButtonSlots> {
}
export {};