mirror of
https://github.com/dzeiocom/components.git
synced 2025-06-12 18:49:21 +00:00
Finalised Navbar
Signed-off-by: Florian BOUILLON <florian.bouillon@delta-wings.net>
This commit is contained in:
8
.storybook/mockNextRouter.js
Normal file
8
.storybook/mockNextRouter.js
Normal file
@ -0,0 +1,8 @@
|
||||
import Router from 'next/router';
|
||||
|
||||
Router.router = {
|
||||
push: async () => {},
|
||||
replace: async () => {},
|
||||
prefetch: () => {},
|
||||
route: '/mock-route',
|
||||
pathname: 'mock-path',};
|
@ -1,4 +1,5 @@
|
||||
import '../src/dzeio/general.styl'
|
||||
import './mockNextRouter'
|
||||
|
||||
export const parameters = {
|
||||
layout: 'centered'
|
||||
|
Reference in New Issue
Block a user