@makigas/genshi-svelte
Version:
The Svelte Components required to integrate Genshi into a Svelte application
17 lines (16 loc) • 539 B
TypeScript
import { type Color, type Size } from '../common.js';
import type { Icon } from '@lucide/svelte';
import type { Snippet } from 'svelte';
import type { HTMLButtonAttributes } from 'svelte/elements';
interface Props extends HTMLButtonAttributes {
children?: Snippet;
bold?: boolean;
color?: Color;
size?: Size;
iconBefore?: typeof Icon;
iconAfter?: typeof Icon;
disabled?: boolean;
}
declare const Button: import("svelte").Component<Props, {}, "">;
type Button = ReturnType<typeof Button>;
export default Button;