Skip to content

Commit c031433

Browse files
authored
Updating Breadcrumb Link copy from Link api update (#5083)
1 parent 24bffc0 commit c031433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-aria-components/docs/Breadcrumbs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ A `Breadcrumb` can be targeted with the `.react-aria-Breadcrumb` CSS selector, o
366366

367367
### Link
368368

369-
A `Link` can be targeted with the `.react-aria-Link` CSS selector, or by overriding with a custom `className`. It clones its only child element (e.g. `<a>`) and adds additional props, which should be passed through to the underlying DOM node. If only text is provided, it is rendered as a `<span>`. Links support the following states and render props:
369+
A `Link` can be targeted with the `.react-aria-Link` CSS selector, or by overriding with a custom `className`. It is rendered as an `<a>` element when a href is provided via props. If only text is provided, it is rendered as a `<span>`. Links support the following states and render props:
370370

371371
<StateTable properties={docs.exports.LinkRenderProps.properties} />
372372

0 commit comments

Comments
 (0)