UNPKG

primereact

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primereact.svg)](https://badge.fury.io/js/primereact)

32 lines (29 loc) 892 B
import * as React from 'react'; import TooltipOptions from '../tooltip/TooltipOptions'; interface ListBoxProps { id?: string; value?: any; options?: any[]; optionLabel?: string; optionValue?: string; style?: object; listStyle?: object; listClassName?: string; className?: string; disabled?: boolean; dataKey?: string; multiple?: boolean; metaKeySelection?: boolean; filter?: boolean; filterBy?: string; filterMatchMode?: string; filterPlaceholder?: string; filterLocale?: string; tabIndex?:string; tooltip?: any; tooltipOptions?: TooltipOptions; ariaLabelledBy?: string, itemTemplate?(item: any): JSX.Element | undefined; onChange?(e: {originalEvent: Event, value: any, target: {name: string, id: string, value: any}}): void; } export class ListBox extends React.Component<ListBoxProps,any> {}