mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-26 08:47:29 +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,
|
separator: PropTypes.node,
|
||||||
routes: PropTypes.array,
|
routes: PropTypes.array,
|
||||||
params: PropTypes.object,
|
params: PropTypes.object,
|
||||||
linkRender: PropTypes.func,
|
|
||||||
nameRender: PropTypes.func,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
@ -154,7 +154,6 @@ export default class Modal extends React.Component<ModalProps, {}> {
|
|||||||
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
||||||
confirmLoading: PropTypes.bool,
|
confirmLoading: PropTypes.bool,
|
||||||
visible: PropTypes.bool,
|
visible: PropTypes.bool,
|
||||||
align: PropTypes.object,
|
|
||||||
footer: PropTypes.node,
|
footer: PropTypes.node,
|
||||||
title: PropTypes.node,
|
title: PropTypes.node,
|
||||||
closable: PropTypes.bool,
|
closable: PropTypes.bool,
|
||||||
|
@ -58,7 +58,6 @@ export default class Progress extends React.Component<ProgressProps> {
|
|||||||
trailColor: PropTypes.string,
|
trailColor: PropTypes.string,
|
||||||
format: PropTypes.func,
|
format: PropTypes.func,
|
||||||
gapDegree: PropTypes.number,
|
gapDegree: PropTypes.number,
|
||||||
default: PropTypes.oneOf(['default', 'small']),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
getPercentNumber() {
|
getPercentNumber() {
|
||||||
|
Loading…
Reference in New Issue
Block a user