office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
1 lines • 653 B
JavaScript
module.exports = "import * as React from 'react';\nimport { AppState, ExampleStatus } from '../../../components/App/AppState';\nimport {\n Nav\n} from '../../../../index';\n\nexport class NavFabricDemoAppExample extends React.Component<any, any> {\n public render() {\n return (\n <Nav groups={ AppState.examplePages } onRenderLink={(link) => ([\n <span key={ 1 } className='Nav-linkText'>{ link.name }</span>,\n (link.status !== undefined ?\n <span key={ 2 } className={ 'Nav-linkFlair ' + 'is-state' + link.status } >{ ExampleStatus[link.status] }</span> :\n null)\n ])}\n />\n );\n }\n\n}\n";