compote-ui
Version:
An opinionated UI component library for Svelte, built on top of [Ark UI](https://ark-ui.com) with additional components and features not available in the core Ark UI library.
12 lines (11 loc) • 448 B
TypeScript
import type { HTMLButtonAttributes } from 'svelte/elements';
import { type ButtonVariant, type ButtonSize } from './button.variants';
import type { ClassValue } from 'tailwind-variants';
type Props = Omit<HTMLButtonAttributes, 'class'> & {
variant?: ButtonVariant;
size?: ButtonSize;
class?: ClassValue;
};
declare const Button: import("svelte").Component<Props, {}, "">;
type Button = ReturnType<typeof Button>;
export default Button;