1
0
pointhalo 3 жил өмнө
parent
commit
e2fe505c2c

+ 1 - 1
packages/semi-animation-react/README.md

@@ -28,7 +28,7 @@ export default function App() {
         enter={{ opacity: 1, scale: 1 }}
         leave={{ opacity: 0, scale: 0 }}
       >
-        {({scale, opacity}: any) => (
+        {({ scale, opacity }: any) => (
           <h2 style={{transform: `scale(${scale})`, opacity}}>
             Toggle to see some animation happen!
           </h2>

+ 1 - 1
packages/semi-animation/README.md

@@ -16,7 +16,7 @@ npm install @douyinfe/semi-animation
 
 `semi-animation` provides a class called  `Animation` . It has a complete life cycle hook and control method to support operating animation like audio and video.
 
--   Use in JS
+-  Use in JS
 
 ```js
 import { Animation } from '@douyinfe/semi-animation';