Skip to content

Commit 90c00d3

Browse files
committed
feat: delete animated list
1 parent 3603517 commit 90c00d3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/pages/demo/index.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import XuePng from '@assets/images/xue.png'
1616

1717
import { Command, Cannabis, Beer, Mail } from 'lucide-react'
1818
import ScriptView from '@stateless/ScriptView'
19-
import AnimatedList from '@stateless/AnimatedList'
19+
// import AnimatedList from '@stateless/AnimatedList'
2020
import { DraggableList, DraggableItem } from '@stateless/DraggableList'
2121

2222
import styles from './index.module.less'
@@ -109,7 +109,7 @@ const ProDemo = () => {
109109
return (
110110
<FixTabPanel>
111111
<ScriptView showMultiplePackageOptions={true} codeLanguage="shell" commandMap={customCommandMap} />
112-
<section style={{ height: 240, overflow: 'hidden', margin: 20 }}>
112+
{/* <section style={{ height: 240, overflow: 'hidden', margin: 20 }}>
113113
<AnimatedList>
114114
{Array.from({ length: 10 }, () => ({
115115
id: Math.random(),
@@ -123,7 +123,7 @@ const ProDemo = () => {
123123
</div>
124124
))}
125125
</AnimatedList>
126-
</section>
126+
</section> */}
127127
<section className="flex items-center justify-center gap-5">
128128
<DraggableList items={items} onChange={handleReorder} className="w-[600px] max-w-md cursor-move" />
129129
</section>
@@ -261,9 +261,9 @@ const ProDemo = () => {
261261
</div>
262262
</section>
263263
<section className={styles['section-gradient']}>
264-
<div className={styles.wave}></div>
265-
<div className={styles.wave}></div>
266-
<div className={styles.wave}></div>
264+
<div className={styles.wave} />
265+
<div className={styles.wave} />
266+
<div className={styles.wave} />
267267
</section>
268268
<Footer />
269269
</FixTabPanel>

0 commit comments

Comments
 (0)