diff --git a/component-overview/examples/header/header.jsx b/component-overview/examples/header/header.jsx index e6e9850548..03dd4da5af 100644 --- a/component-overview/examples/header/header.jsx +++ b/component-overview/examples/header/header.jsx @@ -1,10 +1,11 @@ /* eslint-disable jsx-a11y/anchor-is-valid */ -import { useState } from 'react'; +import React, { useState } from 'react'; import { Icon } from '@sb1/ffe-icons-react'; import classNames from 'classnames'; () => { const [isUserNavOpen, setIsUserNavOpen] = useState(false); + const [isSiteNavOpen, setIsSiteNavOpen] = useState(false); const expandMoreIcon = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Ik00ODAtMzczLjUzOXEtNy4yMzEgMC0xMy40NjEtMi4zMDgtNi4yMzEtMi4zMDgtMTEuODQ2LTcuOTIzTDI3NC45MjQtNTYzLjUzOXEtOC4zMDgtOC4zMDctOC41LTIwLjg4NC0uMTkzLTEyLjU3NyA4LjUtMjEuMjY5IDguNjkyLTguNjkyIDIxLjA3Ni04LjY5MnQyMS4wNzYgOC42OTJMNDgwLTQ0Mi43NjhsMTYyLjkyNC0xNjIuOTI0cTguMzA3LTguMzA3IDIwLjg4NC04LjUgMTIuNTc2LS4xOTIgMjEuMjY4IDguNSA4LjY5MyA4LjY5MiA4LjY5MyAyMS4wNzcgMCAxMi4zODQtOC42OTMgMjEuMDc2TDUwNS4zMDctMzgzLjc3cS01LjYxNSA1LjYxNS0xMS44NDYgNy45MjMtNi4yMyAyLjMwOC0xMy40NjEgMi4zMDhaIi8+PC9zdmc+'; @@ -76,13 +77,17 @@ import classNames from 'classnames';
+
+ 5
-
- @@ -154,7 +172,7 @@ import classNames from 'classnames'; Chat - stengt
-
  • +
  • - @@ -171,7 +189,7 @@ export const Standard: Story = { Chat - stengt
  • -
  • +