chore(Button): add separate files for Button types and export

This commit is contained in:
Ilia Mashkov
2026-02-25 09:59:52 +03:00
parent e125b2c795
commit b891f4c64b
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
export { default as Button } from './Button.svelte';
export { default as ButtonGroup } from './ButtonGroup.svelte';
export { default as IconButton } from './IconButton.svelte';
export { default as ToggleButton } from './ToggleButton.svelte';

View File

@@ -0,0 +1,3 @@
export type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'outline' | 'icon';
export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
export type IconPosition = 'left' | 'right';