File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/components/src/components/breadcrumb Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ useMetadata({});
1212
1313useDefaultProps < DBBreadcrumbProps > ( {
1414 size : 'small' ,
15- separator : 'chevron'
15+ separator : 'chevron' ,
16+ ellipsisAriaLabel : 'Expand to show all breadcrumb items'
1617} ) ;
1718
1819export default function DBBreadcrumb ( props : DBBreadcrumbProps ) {
19- const defaultEllipsisAriaLabel = 'Expand to show all breadcrumb items' ;
2020 const _ref = useRef < HTMLElement | any > ( null ) ;
2121 const state = useStore < DBBreadcrumbState > ( {
2222 isExpanded : false ,
@@ -87,7 +87,7 @@ export default function DBBreadcrumb(props: DBBreadcrumbProps) {
8787 class = "db-breadcrumb-ellipsis"
8888 aria-label = {
8989 props . ellipsisAriaLabel ??
90- defaultEllipsisAriaLabel
90+ 'Expand to show all breadcrumb items'
9191 }
9292 aria-expanded = {
9393 state . isExpanded ? 'true' : 'false'
You can’t perform that action at this time.
0 commit comments