jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
14 lines (13 loc) • 383 B
TypeScript
import React from 'react';
import type { AlertProps } from '../types';
interface AlertState {
show: boolean;
}
export default class Alert extends React.Component<AlertProps, AlertState> {
static defaultProps: Partial<AlertProps>;
static propsList: Array<string>;
constructor(props: AlertProps);
handleClick(): void;
render(): JSX.Element | null;
}
export {};