diff --git a/.eslintrc.js b/.eslintrc.js index 1616ba9d9f..f339332a81 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -30,6 +30,8 @@ const eslintrc = { 'react/sort-comp': 0, 'react/prop-types': 0, 'react/jsx-closing-bracket-location': 0, + 'react/jsx-first-prop-new-line': 0, + 'import/no-unresolved': 0, 'no-param-reassign': 0, 'no-return-assign': 0, 'max-len': 0, diff --git a/components/alert/demo/close-text.md b/components/alert/demo/close-text.md index 08ec7086dc..53216e7990 100644 --- a/components/alert/demo/close-text.md +++ b/components/alert/demo/close-text.md @@ -9,6 +9,6 @@ title: 自定义关闭 import { Alert } from 'antd'; ReactDOM.render( - + , mountNode); ```` diff --git a/components/button/demo/button-group.md b/components/button/demo/button-group.md index cc5495230c..f5a1756892 100644 --- a/components/button/demo/button-group.md +++ b/components/button/demo/button-group.md @@ -12,55 +12,54 @@ import { Button, Icon } from 'antd'; const ButtonGroup = Button.Group; ReactDOM.render(
-

基本组合

- - - - - - - - - - - - - - - +

基本组合

+ + + + + + + + + + + + + + + -

带图标按钮组合

- - - - - - + + + + - - - - - - - - - - - - - -
-, mountNode); +

尺寸

+ + + + + + + + + + + + + + + +, mountNode); ````