File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export const SideMenu = memo(
9191 { ...rest }
9292 ref = { ref }
9393 style = { style }
94- aria-labelledby = { titleId }
94+ { ... ( title !== undefined && { " aria-labelledby" : titleId } ) }
9595 className = { cx (
9696 fr . cx ( "fr-sidemenu" , {
9797 "fr-sidemenu--right" : align === "right" ,
Original file line number Diff line number Diff line change @@ -307,3 +307,18 @@ export const SideMenuWith3Levels = getStory({
307307 }
308308 ]
309309} ) ;
310+
311+ export const SideMenuWithNoTitle = getStory ( {
312+ "burgerMenuButtonText" : "Dans cette rubrique" ,
313+ "items" : [
314+ {
315+ "isActive" : true ,
316+ "text" : "Accès direct" ,
317+ "linkProps" : { "href" : "#" }
318+ } ,
319+ {
320+ "text" : "Accès direct" ,
321+ "linkProps" : { "href" : "#" }
322+ }
323+ ]
324+ } ) ;
You can’t perform that action at this time.
0 commit comments