feat: add missing propTypes
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
import * as React from 'react';
|
||||
import Typography from '@mui/material/Typography';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import { Container } from './style';
|
||||
export default function IntermediateStepCount(props) {
|
||||
|
||||
function IntermediateStepCount(props) {
|
||||
const { count } = props;
|
||||
|
||||
return (
|
||||
<Container>
|
||||
<Typography variant="subtitle1" sx={{}}>
|
||||
@@ -11,3 +15,9 @@ export default function IntermediateStepCount(props) {
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
|
||||
IntermediateStepCount.propTypes = {
|
||||
count: PropTypes.number.isRequired,
|
||||
};
|
||||
|
||||
export default IntermediateStepCount;
|
||||
|
Reference in New Issue
Block a user