UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

22 lines (21 loc) 688 B
import { PureComponent } from 'react'; import PropTypes from 'prop-types'; export interface IconItemProps { prefixCls?: string; type: string; active: boolean; onSelect: (type: string) => void; customFontName?: string; } export default class IconItem extends PureComponent<IconItemProps> { static displayName: string; static propTypes: { prefixCls: PropTypes.Requireable<string>; active: PropTypes.Validator<boolean>; type: PropTypes.Validator<string>; onSelect: PropTypes.Validator<(...args: any[]) => any>; customFontName: PropTypes.Requireable<string>; }; handleClick: () => void; render(): JSX.Element; }