@pnp/spfx-property-controls
Version:
Reusable property pane controls for SharePoint Framework solutions
17 lines • 694 B
TypeScript
import { IPropertyFieldGroupOrPerson, IPropertyFieldPeoplePickerPropsInternal } from './IPropertyFieldPeoplePicker';
import { IPersonaProps } from '@fluentui/react/lib/components/Persona';
/**
* PropertyFieldPeoplePickerHost properties interface
*/
export interface IPropertyFieldPeoplePickerHostProps extends IPropertyFieldPeoplePickerPropsInternal {
onChange: (targetProperty?: string, newValue?: any) => void;
}
/**
* Defines the state of the component
*/
export interface IPeoplePickerState {
resultsPeople?: Array<IPropertyFieldGroupOrPerson>;
resultsPersonas?: Array<IPersonaProps>;
errorMessage?: string;
}
//# sourceMappingURL=IPropertyFieldPeoplePickerHost.d.ts.map