mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-25 16:23:09 +08:00
Remove ancient prop types (#16705)
* Remove ancient Modal.propTypes.align and Progress.propTypes.size * Remove linkRender and nameRender from Breadcrumb
This commit is contained in:
parent
f5f32f651f
commit
56ff8728d2
@ -59,8 +59,6 @@ export default class Breadcrumb extends React.Component<BreadcrumbProps, any> {
|
||||
separator: PropTypes.node,
|
||||
routes: PropTypes.array,
|
||||
params: PropTypes.object,
|
||||
linkRender: PropTypes.func,
|
||||
nameRender: PropTypes.func,
|
||||
};
|
||||
|
||||
componentDidMount() {
|
||||
|
@ -154,7 +154,6 @@ export default class Modal extends React.Component<ModalProps, {}> {
|
||||
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
||||
confirmLoading: PropTypes.bool,
|
||||
visible: PropTypes.bool,
|
||||
align: PropTypes.object,
|
||||
footer: PropTypes.node,
|
||||
title: PropTypes.node,
|
||||
closable: PropTypes.bool,
|
||||
|
@ -58,7 +58,6 @@ export default class Progress extends React.Component<ProgressProps> {
|
||||
trailColor: PropTypes.string,
|
||||
format: PropTypes.func,
|
||||
gapDegree: PropTypes.number,
|
||||
default: PropTypes.oneOf(['default', 'small']),
|
||||
};
|
||||
|
||||
getPercentNumber() {
|
||||
|
Loading…
Reference in New Issue
Block a user