UNPKG

test-nut-ui

Version:

<p align="center"> <img alt="logo" src="https://img11.360buyimg.com/imagetools/jfs/t1/211965/25/7152/22022/61b16785E433119bb/aa41d7a9f7e823f3.png" width="150" style="margin-bottom: 10px;"> </p>

27 lines (26 loc) 828 B
import React from 'react'; import { BasicComponent } from '../../utils/typings'; export interface OptionItem { text: string; value: string | number; description?: string; disabled?: boolean; } export interface PickerITemProps extends BasicComponent { title: React.ReactNode; options: OptionItem[]; disabled: boolean; columns: number; icon: React.ReactNode; activeIcon: React.ReactNode; indeterminateIcon: React.ReactNode; activeTitleClass: string; inactiveTitleClass: string; limitNumber: number; value: (string | number)[]; maxHeight: string; showSelectAll: boolean; onChange: (event: any) => void; children: React.ReactNode; } export declare const PickerItem: React.ForwardRefExoticComponent<Partial<PickerITemProps> & React.RefAttributes<unknown>>;