File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -33,15 +33,12 @@ export const Crumb: FC<CrumbProps> = ({
3333/**
3434 *
3535 */
36- export type BreadCrumbsProps = {
37- label ?: string ;
38- } & HTMLAttributes < HTMLElement > ;
36+ export type BreadCrumbsProps = HTMLAttributes < HTMLElement > ;
3937
4038/**
4139 *
4240 */
4341export const BreadCrumbs : FC < BreadCrumbsProps > = ( {
44- label,
4542 className,
4643 children,
4744 ...props
@@ -53,14 +50,7 @@ export const BreadCrumbs: FC<BreadCrumbsProps> = ({
5350
5451 return (
5552 < nav { ...props } role = 'navigation' >
56- { label ? (
57- < p id = 'bread-crumb-label' className = 'slds-assistive-text' >
58- { label }
59- </ p >
60- ) : null }
61- < ol className = { oClassName } aria-labelledby = 'bread-crumb-label' >
62- { children }
63- </ ol >
53+ < ol className = { oClassName } > { children } </ ol >
6454 </ nav >
6555 ) ;
6656} ;
You can’t perform that action at this time.
0 commit comments