phase-2: add shared platform interfaces and type contracts

This commit is contained in:
sdarbinyan
2026-07-03 01:29:04 +04:00
parent b957112fc7
commit e0b73923f9
25 changed files with 334 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
export interface ButtonConfig {
id?: string;
label: string;
variant: 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'danger';
size?: 'sm' | 'md' | 'lg';
icon?: string;
disabled?: boolean;
loading?: boolean;
action?: {
type: 'navigate' | 'submit' | 'emit' | 'custom';
target?: string;
};
}