UNPKG

yqcloud-ui

Version:

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

34 lines (33 loc) 1.26 kB
/// <reference types="react" /> import * as React from 'react'; import { SelectProps } from '../select'; export interface IconSelectProps extends SelectProps { prefix?: string; } export interface IconSelectState { current: number; total: number; pageSize: number; filterValue: string; data: any; } export default class IconSelect extends React.Component<IconSelectProps, IconSelectState> { static defaultProps: { prefix: string; filter: boolean; showArrow: boolean; showCheckAll: boolean; }; icons: any; rcSelect: React.ReactNode | null; constructor(props: IconSelectProps); componentDidMount(): void; initIcon(current?: number, pageSize?: number, filterValue?: string): void; renderOption(): any; handleRender: (label: React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>) => JSX.Element | null; handlePageChange: (current: number, pageSize: number) => void; handleFilter: (value: string) => void; saveRef: (node: React.ReactNode) => void; renderFooter(): JSX.Element; render(): JSX.Element; }