kibana/packages/kbn-plugin-generator/template/public/index.ts.ejs

15 lines
383 B
Plaintext
Raw Normal View History

import './index.scss';
import { <%= upperCamelCase(name) %>Plugin } from './plugin';
// This exports static code and TypeScript types,
// as well as, Kibana Platform `plugin()` initializer.
export function plugin() {
return new <%= upperCamelCase(name) %>Plugin();
}
export {
<%= upperCamelCase(name) %>PluginSetup,
<%= upperCamelCase(name) %>PluginStart,
} from './types';