From d17d894f398650209c0ddd29502308de8c07bd93 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 27 Sep 2023 18:43:25 +0200 Subject: feat(components): add Article, Aside, Footer, Header, Main & Nav Some components have been renamed to be able to create Footer, Header and Nav. --- src/components/organisms/toolbar/main-nav.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/components/organisms/toolbar') diff --git a/src/components/organisms/toolbar/main-nav.tsx b/src/components/organisms/toolbar/main-nav.tsx index 4182b4c..6933c44 100644 --- a/src/components/organisms/toolbar/main-nav.tsx +++ b/src/components/organisms/toolbar/main-nav.tsx @@ -1,4 +1,4 @@ -import { forwardRef, ForwardRefRenderFunction } from 'react'; +import { forwardRef, type ForwardRefRenderFunction } from 'react'; import { useIntl } from 'react-intl'; import { BooleanField, @@ -6,7 +6,7 @@ import { Hamburger, Label, } from '../../atoms'; -import { Nav, type NavProps, type NavItem } from '../../molecules'; +import { NavList, type NavListProps, type NavItem } from '../../molecules'; import mainNavStyles from './main-nav.module.scss'; import sharedStyles from './toolbar-items.module.scss'; @@ -14,7 +14,7 @@ export type MainNavProps = { /** * Set additional classnames to the nav element. */ - className?: NavProps['className']; + className?: NavListProps['className']; /** * The button state. */ @@ -64,7 +64,7 @@ const MainNavWithRef: ForwardRefRenderFunction = ( > -