Merge pull request #2323 from automatisch/fix-editable-typography-errors

fix: remove not used props passed to EditableTypography and fix propTypes
This commit is contained in:
Ali BARIN
2025-01-30 15:17:05 +01:00
committed by GitHub
2 changed files with 1 additions and 3 deletions

View File

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

View File

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