Skip to content

Commit 1f67062

Browse files
committed
docs: refine README usage and ecosystem note
1 parent 98189ee commit 1f67062

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
<div align="center">
22
<h1>@rc-component/motion</h1>
3+
<p><sub>Part of the Ant Design ecosystem.</sub></p>
34
<img alt="Ant Design" height="32" src="https://gw.alipayobjects.com/zos/bmw-prod/ae669a89-0c24-40ff-a91d-2b83497170f6.svg" />
45
<p>🎞️ Lifecycle-driven motion primitives for React enter, leave, and list animations.</p>
56
</div>
67

7-
<p align="center">
8-
<sub>
9-
<a href="https://ant.design">
10-
<img alt="Ant Design" src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" height="16">
11-
</a>
12-
Part of the Ant Design ecosystem.
13-
</sub>
14-
</p>
158

169
<div align="center">
1710

@@ -64,7 +57,7 @@ export default ({ visible }: { visible: boolean }) => (
6457
```tsx | pure
6558
import { CSSMotionList } from '@rc-component/motion';
6659

67-
export default ({ keys }: { keys: React.Key[] }) => (
60+
export default ({ keys }: { keys: string[] }) => (
6861
<CSSMotionList keys={keys} motionName="fade">
6962
{({ key, className, style }, ref) => (
7063
<div ref={ref} key={key} className={className} style={style}>

0 commit comments

Comments
 (0)