UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

21 lines 1.15 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { Persona, PersonaSize, PersonaPresence } from 'office-ui-fabric-react/lib/Persona'; import { Stack } from 'office-ui-fabric-react/lib/Stack'; import { TestImages } from '@uifabric/example-data'; export var PersonaAlternateExample = function () { var examplePersona = { imageUrl: TestImages.personaMale, imageInitials: 'AR', text: 'Annie Reid', secondaryText: 'Designer', tertiaryText: 'In a meeting', optionalText: 'Available at 4:00pm', showSecondaryText: true }; return (React.createElement(Stack, { tokens: { childrenGap: 10 } }, React.createElement(Persona, tslib_1.__assign({}, examplePersona, { size: PersonaSize.size24, presence: PersonaPresence.none })), React.createElement(Persona, tslib_1.__assign({}, examplePersona, { size: PersonaSize.size28, presence: PersonaPresence.none })), React.createElement(Persona, tslib_1.__assign({}, examplePersona, { size: PersonaSize.size32, presence: PersonaPresence.online })))); }; //# sourceMappingURL=Persona.Alternate.Example.js.map