fix: remove not used props passed to EditableTypography and fix propTypes

This commit is contained in:
kasia.oczkowska
2025-01-30 09:44:53 +00:00
committed by Ali BARIN
parent a0651972ab
commit 15fdfbbb7d
2 changed files with 1 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ function EditableTypography(props) {
} }
EditableTypography.propTypes = { EditableTypography.propTypes = {
children: PropTypes.string.isRequired, children: PropTypes.string,
disabled: PropTypes.bool, disabled: PropTypes.bool,
iconColor: PropTypes.oneOf(['action', 'inherit']), iconColor: PropTypes.oneOf(['action', 'inherit']),
onConfirm: PropTypes.func, onConfirm: PropTypes.func,

View File

@@ -265,8 +265,6 @@ function FlowStep(props) {
</Typography> </Typography>
<EditableTypography <EditableTypography
iconPosition="end"
iconSize="small"
variant="body2" variant="body2"
onConfirm={handleStepNameChange} onConfirm={handleStepNameChange}
prefixValue={`${step.position}. `} prefixValue={`${step.position}. `}