feat: add intermediate step count in flow apps
This commit is contained in:
20
packages/web/src/components/IntermediateStepCount/index.tsx
Normal file
20
packages/web/src/components/IntermediateStepCount/index.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import * as React from 'react';
|
||||
import Typography from '@mui/material/Typography';
|
||||
|
||||
import { Container } from './style';
|
||||
|
||||
type IntermediateStepCountProps = {
|
||||
count: number;
|
||||
}
|
||||
|
||||
export default function IntermediateStepCount(props: IntermediateStepCountProps) {
|
||||
const { count } = props;
|
||||
|
||||
return (
|
||||
<Container>
|
||||
<Typography variant="body2">
|
||||
+{count}
|
||||
</Typography>
|
||||
</Container>
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user