import * as React from 'react'; import { Pivot, PivotItem } from '@fluentui/react'; const getTabId = (itemKey: string) => { return `ShapeColorPivot_${itemKey}`; }; export const PivotSeparateExample = () => { const [selectedKey, setSelectedKey] = React.useState('rectangleRed'); const handleLinkClick = (item?: PivotItem) => { if (item) { setSelectedKey(item.props.itemKey!); } }; return (
); };