resourceSizeCell.tsx 392 B

1234567891011121314151617
  1. import {NumberContainer} from 'sentry/utils/discover/styles';
  2. import ResourceSize from 'sentry/views/performance/browser/resources/shared/resourceSize';
  3. type Props = {
  4. bytes?: number;
  5. };
  6. function ResourceSizeCell(props: Props) {
  7. const {bytes} = props;
  8. return (
  9. <NumberContainer>
  10. <ResourceSize bytes={bytes} />
  11. </NumberContainer>
  12. );
  13. }
  14. export default ResourceSizeCell;