fix: version 4.0.0-beta.1

This commit is contained in:
ycjcl868 2019-12-26 16:14:56 +08:00
parent 1d9bb93625
commit 18cba6dd9c
2 changed files with 2 additions and 10 deletions

View File

@ -7,15 +7,7 @@ interface StepsProps extends ProgressProps {
}
const Steps: React.SFC<StepsProps> = props => {
const {
size = 'default',
steps,
percent = 0,
strokeWidth = 8,
strokeColor,
prefixCls,
children,
} = props;
const { size = 'default', steps, percent = 0, strokeWidth = 8, strokeColor, prefixCls, children } = props;
const getStyledSteps = () => {
const current = Math.floor(steps * (percent / 100));
const stepWidth = size === 'small' ? 2 : 14;

View File

@ -1,6 +1,6 @@
{
"name": "antd",
"version": "4.0.0-beta.0",
"version": "4.0.0-beta.1",
"description": "An enterprise-class UI design language and React components implementation",
"keywords": [
"ant",