svelteuidev / svelteui

SvelteUI Monorepo
https://svelteui.dev
MIT License
1.29k stars 63 forks source link

Duplicate active={1} value in Timeline "Line and bullet props" #485

Open Sau1707 opened 8 months ago

Sau1707 commented 8 months ago

Link to the page where something isn't quite right

https://www.svelteui.org/core/timeline

Exact quote of what is wrong

<Timeline active={1} active={1} lineWidth={4} bulletSize={20}>

The value if active it's placed twice

Edit

The import of Center is missing

import { Text, Timeline } from '@svelteuidev/core';

Are you willing to create pull request with the fix?

Yes

BeeMargarida commented 8 months ago

@Sau1707 Hey, if you want you can go ahead with a PR fix. The file you want to fix is /packages/svelteui-demos/src/demos/core/Timeline/Timeline.demo.bullet.svelte.