office-ui-fabric-react APIs
- Stack
- DefaultButton
- Link
- PrimaryButton
- IconButton
- MessageBar
- MessageBarType
- Text
- Icon
- Dropdown
- IDropdownOption
- Spinner
- TextField
- initializeIcons
- FontWeights
- DialogType
- DialogFooter
- StackItem
- Panel
- IStackTokens
- Callout
- Toggle
- Image
- ActionButton
- getTheme
- Dialog
- Checkbox
- Pivot
- PivotItem
- FocusZone
- IContextualMenuProps
- TooltipHost
- ProgressIndicator
- ITheme
- ComboBox
- IComboBoxOption
- SpinnerSize
- Label
- SearchBox
- IIconProps
- IButtonProps
- ImageFit
- mergeStyles
- mergeStyleSets
- FontSizes
- Modal
- FocusTrapCallout
- CommandBarButton
- IStackStyles
- getId
- DetailsRow
- DetailsList
- IDetailsListProps
- IColumn
- DetailsListLayoutMode
- Selection
- SelectionMode
- createTheme
- ICustomizations
- IPalette
- IPersonaCoinStyleProps
- IPersonaCoinStyles
- IDatePickerStyleProps
- IDatePickerStyles
- IPeoplePickerItemSelectedStyleProps
- IPeoplePickerItemSelectedStyles
- DatePicker
- IDatePickerStrings
- DayOfWeek
- IComboBox
- ITextStyles
- Shimmer
- ShimmerElementsGroup
- Persona
- IPersonaSharedProps
- Overlay
- FontIcon
- SwatchColorPicker
- IDropdownStyles
- TeachingBubble
- ChoiceGroup
- IChoiceGroupOption
- Separator
- Customizer
- css
- classNamesFunction
- ITextField
- DialogContent
- find
- CompoundButton
- DocumentCard
- DocumentCardDetails
- DocumentCardTitle
- DocumentCardType
- ISize
- CommandButton
- PanelType
- IPersona
- MessageBarButton
- autobind
- AnimationStyles
- DirectionalHint
- FocusZoneDirection
- List
Other Related APIs
office-ui-fabric-react#IPersonaSharedProps TypeScript Examples
The following examples show how to use
office-ui-fabric-react#IPersonaSharedProps.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PersonaCard.tsx From spfx-msgraph-peoplesearch with MIT License | 6 votes |
/**
*
*
* @private
* @returns {JSX.Element}
* @memberof PersonaCard
*/
private _PersonaCard(processedProps?: IPersonaCardProps): JSX.Element {
if (isEmpty(processedProps)) {
processedProps = this.determinePersonaConfig();
}
const persona: IPersonaSharedProps = {
theme: this.props.themeVariant as ITheme,
text: processedProps.text,
secondaryText: processedProps.secondaryText,
tertiaryText: processedProps.tertiaryText,
optionalText: processedProps.optionalText,
imageShouldFadeIn: false
};
if (!isEmpty(this.props.item.photoUrl)) {
persona.imageUrl = this.props.item.photoUrl;
}
return <Persona {...persona} size={parseInt(this.props.personaSize)} />;
}