From c3cde71e60ae22d17c1d162f678f592915ac5398 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 19 Oct 2023 19:30:54 +0200
Subject: refactor(components): rewrite NavLink component

* handle style variants to avoid declaring the styles in consumers
---
 src/components/molecules/nav/nav-link/nav-link.test.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/molecules/nav/nav-link/nav-link.test.tsx')

diff --git a/src/components/molecules/nav/nav-link/nav-link.test.tsx b/src/components/molecules/nav/nav-link/nav-link.test.tsx
index aa9b557..e4c2d57 100644
--- a/src/components/molecules/nav/nav-link/nav-link.test.tsx
+++ b/src/components/molecules/nav/nav-link/nav-link.test.tsx
@@ -15,14 +15,14 @@ describe('NavLink', () => {
     );
   });
 
-  it('can render a nav link with inlined contents', () => {
+  it('can render a nav link with stacked contents', () => {
     const label = 'eius';
     const target = '#harum';
 
-    render(<NavLink href={target} isInline label={label} />);
+    render(<NavLink href={target} isStack label={label} />);
 
     expect(rtlScreen.getByRole('link', { name: label })).toHaveClass(
-      'link--inline'
+      'link--stack'
     );
   });
 });
-- 
cgit v1.2.3

