nano-jsx
Version:
SSR first, lightweight 1kB JSX library.
23 lines • 528 B
TypeScript
import { Component } from '../component.js';
interface BannerAction {
name: string;
id?: string | number;
color?: string;
}
interface BannerActionEvent {
action: string;
}
interface BannerProps {
title?: string;
body?: string;
actions?: BannerAction[];
onAction?: () => BannerActionEvent;
parentId?: string;
sticky?: number;
}
export declare class Banner extends Component<BannerProps> {
defaultActionColor: string;
render(): any;
}
export {};
//# sourceMappingURL=banner.d.ts.map