Skip to content

Commit

Permalink
chore: Use [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Sep 7, 2020
1 parent 09d8055 commit c18fd25
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"endOfLine": "lf",
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"printWidth": 100
}
5 changes: 5 additions & 0 deletions assets/boostrap/anim.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
animation-fill-mode: both;
}

&&-zoom-appear,
&&-zoom-enter {
opacity: 0;
}

&&-zoom-enter, &&-zoom-leave {
display: block;
}
Expand Down
1 change: 1 addition & 0 deletions examples/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class Test extends Component {
},
],
placement: 'right',
transitionName: 'rc-tooltip-zoom',
trigger: {
hover: 1,
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"test": "father test"
},
"dependencies": {
"rc-trigger": "^4.2.1"
"rc-trigger": "^5.0.0"
},
"devDependencies": {
"@types/jest": "^26.0.0",
Expand Down

0 comments on commit c18fd25

Please sign in to comment.