Skip to content

Commit 9f70574

Browse files
samturrellxanf
andauthored
Update README.md (#6794)
Co-authored-by: Illya Klymov <xanf@xanf.me>
1 parent 8ce291b commit 9f70574

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/breadcrumb/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@
3939
## Breadcrumb items
4040

4141
Items are rendered using `:items` prop. It can be an array of objects to provide link and active
42-
state. Links can be `href`'s for anchor tags, or `to`'s for router-links. Active state of last
43-
element is automatically set if it is `undefined`.
42+
state. Links can be `href`'s for anchor tags, or `to`'s for router-links. Breadcrumb works under
43+
the assumption that there is one active link in every set of ordered breadcrumbs, so the active
44+
state of the last element is automatically set to `false`.
4445

4546
<!-- eslint-disable no-unused-vars -->
4647

0 commit comments

Comments
 (0)