File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,13 +76,13 @@ npm start
7676| --- | --- | --- | --- |
7777| children | ` (props, ref) => ReactElement ` | - | 接收运动类、样式和引用的渲染函数。 |
7878| forceRender | ` boolean ` | ` false ` | 即使元素不可见也保持渲染。 |
79- | leavedClassName | ` string ` | - | 当元素保留时,在离开后应用className称 。 |
79+ | leavedClassName | ` string ` | - | 当元素保留时,在离开后应用 className 。 |
8080| motionAppear | ` boolean ` | ` true ` | 启用出现运动。 |
8181| motionDeadline | ` number ` | - | 运动完成的回退超时(以毫秒为单位)。 |
8282| motionEnter | ` boolean ` | ` true ` | 启用进入运动。 |
8383| motionLeave | ` boolean ` | ` true ` | 启用离开动作。 |
8484| motionLeaveImmediately | ` boolean ` | - | 安装后立即触发离开。 |
85- | motionName | ` string \| MotionName ` | - | CSS className前缀或每阶段className 。 |
85+ | motionName | ` string \| MotionName ` | - | CSS className 前缀或每阶段 className 。 |
8686| removeOnLeave | ` boolean ` | ` true ` | 离开后删除该元素。设置 ` forceRender ` 时忽略。 |
8787| visible | ` boolean ` | ` true ` | 控制元素是否可见。 |
8888| onAppearActive | ` MotionEventHandler ` | - | 在出现活跃阶段期间触发。 |
You can’t perform that action at this time.
0 commit comments