office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
1 lines • 891 B
JavaScript
define([], function() { return "import * as React from 'react';\nimport {\n Nav\n} from '../../../../index';\n\nexport class NavNestedExample extends React.Component<any, any> {\n public render() {\n return (\n <Nav\n groups={ [ { links: [\n { name: 'Parent link', url: 'http://example.com', links: [\n { name: 'Child link', url: 'http://example.com' },\n { name: 'Child link', url: 'http://example.com', links: [\n { name: 'Child link', url: 'http://example.com' },\n { name: 'Child link', url: 'http://example.com' }\n ] },\n { name: 'Child link', url: 'http://example.com' }\n ] },\n { name: 'Parent link', url: 'http://example.com', links: [\n { name: 'Child link', url: 'http://example.com' },\n ] }\n ] } ] }\n />\n );\n }\n\n}\n"; });