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:
Marcel Jackwerth 2019-05-26 04:41:02 +02:00 committed by zombieJ
parent f5f32f651f
commit 56ff8728d2
3 changed files with 0 additions and 4 deletions

View File

@ -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() {

View File

@ -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,

View File

@ -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() {