jiang
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
4 deletions
-
components/tag/demo/animation.md
-
package.json
|
|
@ -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} |
|
|
|
|
|
@ -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", |
|
|
|