anvil/striker-ui/components/Bars/BorderLinearProgress.tsx

16 lines
403 B
TypeScript
Raw Normal View History

import { LinearProgress, linearProgressClasses, styled } from '@mui/material';
import { BORDER_RADIUS } from '../../lib/consts/DEFAULT_THEME';
const BorderLinearProgress = styled(LinearProgress)({
backgroundColor: 'transparent',
borderRadius: BORDER_RADIUS,
height: '1em',
[`& .${linearProgressClasses.bar}`]: {
borderRadius: BORDER_RADIUS,
},
});
export default BorderLinearProgress;