UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

18 lines (16 loc) 579 B
import * as React from 'react'; import { IRefObject } from '../../Utilities'; export interface IPickerItemProps<T> extends React.AllHTMLAttributes<HTMLElement> { componentRef?: IRefObject<{}>; item: T; index: number; selected?: boolean; onRemoveItem?: () => void; /** * Internal Use only, gives a callback to the renderer to call when an item has changed. * This allows the base picker to keep track of changes in the items. */ onItemChange?: (item: T, index: number) => void; key?: string | number; removeButtonAriaLabel?: string; }