import { getTheme } from '@fluentui/react/lib/Styling'; import { IStyleFunction } from '@fluentui/react/lib/Utilities'; import { IPropertiesTableSetStyleProps, IPropertiesTableSetStyles } from './PropertiesTableSet.types'; export const getStyles: IStyleFunction = props => { const { theme = getTheme() } = props; return { tableRoot: [ { marginBottom: 20, overflowX: 'auto', overflowY: 'inherit', }, 'PropertiesTable', ], tableHeader: theme.fonts.mediumPlus, }; };