Skip to content

fix(breadcrumb-item): improve description for slot usage#2952

Open
metonym wants to merge 2 commits intomasterfrom
metonym/breadcrumbitem-slot-props-docs
Open

fix(breadcrumb-item): improve description for slot usage#2952
metonym wants to merge 2 commits intomasterfrom
metonym/breadcrumbitem-slot-props-docs

Conversation

@metonym
Copy link
Copy Markdown
Collaborator

@metonym metonym commented May 10, 2026

The @slot annotation describes props.aria-current and props.class, but it isn't surfaced in the typings file the same way Button.svelte's as slot is. Consumers who don't read the JSDoc end up writing <a class="bx--link"> and forgetting aria-current.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant