File tree 1 file changed +5
-1
lines changed
packages/bento-design-system/src/Navigation
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ type NavigationConfig = {
29
29
illustrationSize : SizeConfig < IllustrationProps [ "size" ] > ;
30
30
internalSpacing : SizeConfig < BentoSprinkles [ "gap" ] > ;
31
31
activeVisualElement : JSX . Element ;
32
+ uppercaseLabel : boolean ;
32
33
} ;
33
34
34
35
type Kind = "none" | "icon" | "illustration" ;
@@ -98,7 +99,9 @@ export function createNavigation(config: NavigationConfig) {
98
99
} ) }
99
100
</ Column >
100
101
) }
101
- < Label size = { config . labelSize [ size ] } > { label } </ Label >
102
+ < Label size = { config . labelSize [ size ] } uppercase = { config . uppercaseLabel } >
103
+ { label }
104
+ </ Label >
102
105
</ Columns >
103
106
{ active && config . activeVisualElement }
104
107
</ Box >
@@ -179,4 +182,5 @@ export const defaultNavigationConfig: NavigationConfig = {
179
182
style = { { height : 2 } }
180
183
/>
181
184
) ,
185
+ uppercaseLabel : false ,
182
186
} ;
You can’t perform that action at this time.
0 commit comments