/// import * as React from "react"; import { CSSProperties } from "react"; export interface TItem { value: string; label: string; desc?: string; style?: CSSProperties; } export interface ListStyleProps { data: TItem[]; defaultValue?: string; className?: string; icon?: string; value?: string; width: number; isColor?: boolean; renderItem?: (ele: TItem, isHead?: boolean) => JSX.Element; onToggle: (style: string) => void; } export interface ListStyleState { value: string; visible: boolean; } export declare class ListStyle extends React.Component { constructor(props: ListStyleProps); documentCancelFunc: (e: any) => void; onToggle: (style: string) => void; modalShow: () => void; initClickEvents(): void; componentWillUnmount(): void; componentWillReceiveProps(nextProps: ListStyleProps): void; render(): JSX.Element | null; } declare const _default: { ListStyle: typeof ListStyle; }; export default _default;