import * as React from 'react'; import { Icon, ILabelStyles, IStyleSet, Label } from 'office-ui-fabric-react'; import { IPivotItemProps, Pivot, PivotItem } from '@fluentui/react-tabs'; 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 })} ); }