Skip to content

Commit

Permalink
update value type
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed Oct 26, 2024
1 parent 00c0586 commit 3e0f775
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mui-material/src/Slider/Slider.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export interface SliderValueLabelProps extends React.HTMLAttributes<HTMLSpanElem
children: React.ReactElement<unknown>;
index: number;
open: boolean;
value: number;
value: React.ReactNode;
}

type SliderRootProps = NonNullable<SliderTypeMap['props']['componentsProps']>['root'];
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Slider/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ SliderValueLabel.propTypes /* remove-proptypes */ = {
/**
* @ignore
*/
value: PropTypes.number.isRequired,
value: PropTypes.node,
};

export { SliderValueLabel };
Expand Down

0 comments on commit 3e0f775

Please sign in to comment.