import { Icon, TooltipHost } from '@fluentui/react' import React, { FC } from 'react' import { MandatoryCheckTooltip } from './MandatoryCheckTooltip' import { IMandatoryCheckProps } from './types' /** * Component that renders a Lock icon instead of a checkbox for items * in a list that should be mandatory. * * @param props Props */ export const MandatoryCheck: FC = (props) => { return ( }>
) } MandatoryCheck.defaultProps = { style: { width: 48, padding: '12px 8px 8px 16px', boxSizing: 'border-box' }, iconProps: { iconName: 'Lock', styles: { root: { fontSize: 15 } } } }