mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
18 lines
392 B
TypeScript
18 lines
392 B
TypeScript
import {NumberContainer} from 'sentry/utils/discover/styles';
|
|
import ResourceSize from 'sentry/views/performance/browser/resources/shared/resourceSize';
|
|
|
|
type Props = {
|
|
bytes?: number;
|
|
};
|
|
|
|
function ResourceSizeCell(props: Props) {
|
|
const {bytes} = props;
|
|
return (
|
|
<NumberContainer>
|
|
<ResourceSize bytes={bytes} />
|
|
</NumberContainer>
|
|
);
|
|
}
|
|
|
|
export default ResourceSizeCell;
|