feat: estructura base OpenSpec + Skills + arquitectura limpia Capacitor+Dextie
This commit is contained in:
8
packages/ui/src/components/Button.ts
Normal file
8
packages/ui/src/components/Button.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export interface ButtonProps {
|
||||
label: string;
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
export function createButton(props: ButtonProps): string {
|
||||
return `<button ${props.disabled ? 'disabled' : ''}>${props.label}</button>`;
|
||||
}
|
||||
1
packages/ui/src/index.ts
Normal file
1
packages/ui/src/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './components/Button';
|
||||
Reference in New Issue
Block a user