You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
543 B

9 years ago
import * as React from 'react';
import Progress from './progress';
import warning from 'warning';
10 years ago
const AntProgress = Progress;
// For downward compatibility
AntProgress.Line = (props) => {
warning(false, '<Progress.Line /> is deprecated, use <Progress type="line" /> instead.');
return <Progress {...props} type="line" />;
};
AntProgress.Circle = (props) => {
warning(false, '<Progress.Circle /> is deprecated, use <Progress type="circle" /> instead.');
return <Progress {...props} type="circle" />;
10 years ago
};
export default AntProgress;