UNPKG

@raona/components

Version:

React components used at Raona to work with SPFx

17 lines (16 loc) 734 B
import * as React from 'react'; import { WrapperComponentProps } from './WrapperComponent'; import { IDropdownOption } from 'office-ui-fabric-react/lib/components/Dropdown/Dropdown.types'; export interface SPDropdownProps extends WrapperComponentProps { label?: string; dropdownOptions: IDropdownOption[]; multiple: boolean; onChange?(item: IDropdownOption, index?: number): void; containerClassName?: string; labelClassName?: string; dropdownClassName?: string; disabled?: boolean; onRenderTitle?(props: IDropdownOption | IDropdownOption[]): JSX.Element; placeholder?: string; } export declare const SPDropdown: (props: SPDropdownProps) => React.ReactElement<SPDropdownProps>;