jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
15 lines (14 loc) • 586 B
TypeScript
import React from 'react';
import type { CheckableTagProps, TagWrapProps } from './types';
export declare class TagWrap extends React.Component<TagWrapProps> {
static defaultProps: Partial<TagWrapProps>;
renderCloseIcon: () => JSX.Element | null;
handleClose: (e: React.MouseEvent<HTMLElement>) => void;
handleClick: (e: React.MouseEvent<HTMLElement>) => void;
render(): JSX.Element;
}
export declare class CheckableTag extends React.Component<CheckableTagProps> {
handleClick: (e: React.MouseEvent) => void;
render(): JSX.Element;
}
export default TagWrap;