@leanup/cli
Version:
This CLI brings along all required tools to serve, test and build multi framework SPAs
20 lines (18 loc) • 391 B
text/typescript
import { FormControl, InputControl } from '@leanup/form';
export class EditorForm extends FormControl {
public constructor(name: string) {
super(name);
this.addControl(
new InputControl('title', {
label: 'Title',
value: '',
})
);
this.addControl(
new InputControl('unit', {
label: 'Unit',
value: '',
})
);
}
}