UNPKG

@pnp/spfx-controls-react

Version:

Reusable React controls for SharePoint Framework solutions

19 lines 910 B
import { PositioningShorthand } from '@fluentui/react-positioning'; import { BaseComponentContext, IReadonlyTheme } from '@microsoft/sp-component-base'; import { IUserInfo } from './models/IUserInfo'; export interface IUserPickerProps { userSelectionLimit?: number; label?: string | JSX.Element; required?: boolean; validationMessage?: string; messageType?: "error" | "success" | "warning" | "none" | undefined; onSelectedUsers?: (users: IUserInfo[]) => void; onRemoveSelectedUser?: (user: IUserInfo) => void; placeholder?: string; defaultSelectdUsers?: IUserInfo[]; theme?: IReadonlyTheme | undefined; context: BaseComponentContext; secondaryTextPropertyName?: "jobTitle" | "department" | "mail" | "officeLocation" | "mobilePhone" | "businessPhones" | "userPrincipalName"; positioning?: PositioningShorthand; } //# sourceMappingURL=IUserPickerProps.d.ts.map