import * as React from 'react'; import { Icon, IStyleSet, Label, ILabelStyles, Pivot, IPivotItemProps, PivotItem } from '@fluentui/react'; const labelStyles: Partial> = { root: { marginTop: 10 }, }; export const PivotIconCountExample: React.FunctionComponent = () => { return (
); }; function _customRenderer( link?: IPivotItemProps, defaultRenderer?: (link?: IPivotItemProps) => JSX.Element | null, ): JSX.Element | null { if (!link || !defaultRenderer) { return null; } return ( {defaultRenderer({ ...link, itemIcon: undefined })} ); }