Skip to content

Commit 56ded06

Browse files
committed
feat: svg path
1 parent a6b92c4 commit 56ded06

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/pages/demo/index.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,12 @@ const ProDemo = () => {
185185
path="M 20,30 L 40,30 L 40,10 L 180, 10"
186186
gradientColors={['#FFA500', '#FFA500', '#FF4500']}
187187
/>
188+
<GradientTracing
189+
width={200}
190+
height={200}
191+
path="M 10 10 L 90 10 Q 100 50 90 90 C 50 100 10 50 10 10 Z"
192+
gradientColors={['#FFA500', '#FFA500', '#FF4500']}
193+
/>
188194
</section>
189195
<div className="b relative mx-auto flex h-[20rem] w-full max-w-5xl flex-col items-start justify-start [perspective:1000px]">
190196
<AnimationTabs tabs={tabs} />

0 commit comments

Comments
 (0)