/*! * Copyright (C) Microsoft Corporation. All rights reserved. */ import { getTheme } from '@fluentui/react'; import * as React from 'react'; import { Sidebar, SidebarButton } from '@fluentui/react-experiments/lib/Sidebar'; export class SidebarBasicExample extends React.Component { public render(): JSX.Element { this.state = { active: true, }; /* * Basic sidebar example, with position override so that the example fits into the example page. * Here is the wrapper class. By default the sidebar takes all of the left height and is positioned on the left. * * .sidebar-position-override { * top: auto; * bottom: auto; * left: auto; * } */ return ( { return ( ); }, }, ]} /> ); } }