toolbarGroupBy.tsx 351 B

123456789101112131415
  1. import {t} from 'sentry/locale';
  2. import {ToolbarHeading, ToolbarSection} from './styles';
  3. interface ToolbarGroupByProps {
  4. disabled?: boolean;
  5. }
  6. export function ToolbarGroupBy({disabled}: ToolbarGroupByProps) {
  7. return (
  8. <ToolbarSection>
  9. <ToolbarHeading disabled={disabled}>{t('Group By')}</ToolbarHeading>
  10. </ToolbarSection>
  11. );
  12. }