@lcap/builder
Version:
lcap builder utils
25 lines (21 loc) • 581 B
text/typescript
/// <reference types="@nasl/types" />
namespace extensions.{{pkgName}}.viewComponents {
const { Component, Prop, ViewComponent, Slot, Method, Param, Event, ViewComponentOptions } = nasl.ui;
({
type: '{{type}}',
ideusage: {
idetype: 'element',
}
})
({
title: '{{title}}',
description: '{{description}}',
})
export class {{compName}} extends ViewComponent {
constructor(options?: Partial<{{compName}}Options>) {
super();
}
}
export class {{compName}}Options extends ViewComponentOptions {
}
}