import * as React from 'react'; import { Fabric, Icon, Label, Toggle } from 'office-ui-fabric-react'; import { useBoolean } from '@uifabric/react-hooks'; import { IPivotItemProps, Pivot, PivotItem } from '@fluentui/react-tabs'; export const PivotOverflowMenuExample: React.FunctionComponent = () => { const [overflow, { toggle: toggleOverflow }] = useBoolean(true); const [tabs, { toggle: toggleTabs }] = useBoolean(false); const [rtl, { toggle: toggleRtl }] = useBoolean(false); return ( <>