UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

1 lines 1.24 kB
define([], function() { return "import * as React from 'react';\r\nimport {\r\n Label,\r\n Pivot,\r\n PivotItem,\r\n PivotLinkFormat,\r\n PivotLinkSize\r\n} from '../../../../index';\r\n\r\nimport { CalloutBasicExample } from '../../CalloutPage/examples/Callout.Basic.Example';\r\nimport { SpinnerBasicExample } from '../../SpinnerPage/examples/Spinner.Basic.Example';\r\nimport { PersonaBasicExample } from '../../PersonaPage/examples/Persona.Basic.Example';\r\n\r\nexport class PivotFabricExample extends React.Component<any, any> {\r\n public render() {\r\n return (\r\n <div>\r\n <Pivot linkFormat={ PivotLinkFormat.links} linkSize={ PivotLinkSize.normal }>\r\n <PivotItem linkText='Callout'>\r\n <Label>Callout Example</Label>\r\n <CalloutBasicExample/>\r\n </PivotItem>\r\n <PivotItem linkText='Spinner'>\r\n <Label>Spinner Example</Label>\r\n <SpinnerBasicExample/>\r\n </PivotItem>\r\n <PivotItem linkText='Persona'>\r\n <Label>Persona Example</Label>\r\n <PersonaBasicExample/>\r\n </PivotItem>\r\n </Pivot>\r\n </div>\r\n );\r\n }\r\n\r\n}\r\n"; });