nano-jsx
Version:
SSR first, lightweight 1kB JSX library.
16 lines • 374 B
TypeScript
import { Component } from '../component.js';
interface IconProps {
src: string;
active?: boolean;
color?: string;
style?: string;
size?: number;
onClick?: (e: MouseEvent) => void;
}
export declare class Icon extends Component<IconProps> {
cssHash: string;
didUnmount(): void;
render(): any;
}
export {};
//# sourceMappingURL=icon.d.ts.map