Browse Source

chore(Tag): update tween-one (#32800)

close #32731
pull/32804/head
jiang 3 years ago
committed by GitHub
parent
commit
852a451477
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      components/tag/demo/animation.md
  2. 2
      package.json

8
components/tag/demo/animation.md

@ -88,9 +88,11 @@ class EditableTagGroup extends React.Component {
opacity: 0,
type: 'from',
duration: 100,
onComplete: e => {
e.target.style = '';
},
}}
onEnd={(e) => {
if(e.type === 'appear' || e.type === 'enter') {
e.targets.style = '';
}
}}
leave={{ opacity: 0, width: 0, scale: 0, duration: 200 }}
appear={false}

2
package.json

@ -238,7 +238,7 @@
"pretty-quick": "^3.0.0",
"querystring": "^0.2.0",
"rc-footer": "^0.6.6",
"rc-tween-one": "^2.4.1",
"rc-tween-one": "^3.0.3",
"rc-virtual-list": "^3.2.4",
"react": "^17.0.1",
"react-color": "^2.17.3",

Loading…
Cancel
Save