Skip to content

Commit 50a6499

Browse files
committed
Add header story with nav and quick access
1 parent 0469231 commit 50a6499

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

stories/Header.stories.tsx

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export const HeaderWithSearchEngine = getStory({
145145
)
146146
});
147147

148-
export const HeaderWithQuickAccessItemsAndSearchEngine = getStory({
148+
export const HeaderWithQuickAccessItemsNavItemsAndSearchEngine = getStory({
149149
"brandTop": (
150150
<>
151151
INTITULE
@@ -182,6 +182,37 @@ export const HeaderWithQuickAccessItemsAndSearchEngine = getStory({
182182
}
183183
}
184184
],
185+
"navItems": [
186+
{
187+
"text": "accès direct",
188+
"linkProps": {
189+
"href": "#",
190+
"target": "_self"
191+
}
192+
},
193+
{
194+
"text": "accès direct",
195+
"linkProps": {
196+
"href": "#",
197+
"target": "_self"
198+
},
199+
"isActive": true
200+
},
201+
{
202+
"text": "accès direct",
203+
"linkProps": {
204+
"href": "#",
205+
"target": "_self"
206+
}
207+
},
208+
{
209+
"text": "accès direct",
210+
"linkProps": {
211+
"href": "#",
212+
"target": "_self"
213+
}
214+
}
215+
],
185216
"renderSearchInput": ({ className, id, name, placeholder, type }) => (
186217
<input className={className} id={id} name={name} placeholder={placeholder} type={type} />
187218
)

0 commit comments

Comments
 (0)