@pnp/spfx-controls-react
Version:
Reusable React controls for SharePoint Framework solutions
34 lines • 1.04 kB
TypeScript
import { IBasePickerStyles } from '@fluentui/react';
import { BaseComponentContext } from '@microsoft/sp-component-base';
export interface IListItemPickerProps {
columnInternalName: string;
keyColumnInternalName?: string;
context: BaseComponentContext;
listId: string;
itemLimit: number;
filter?: string;
orderBy?: string;
className?: string;
webUrl?: string;
defaultSelectedItems?: any[];
disabled?: boolean;
suggestionsHeaderText?: string;
noResultsFoundText?: string;
substringSearch?: boolean;
/**
* Placeholder to be displayed in an empty term picker
*/
placeholder?: string;
onSelectedItem: (item: any) => void;
/**
* The label for the control
*/
label?: string;
/**
* Enable default suggestions. All options are displayed by default when clicking on the control
*/
enableDefaultSuggestions?: boolean;
styles?: IBasePickerStyles;
itemsQueryCountLimit?: number;
}
//# sourceMappingURL=IListItemPickerProps.d.ts.map