Signed-off-by: Avior <github@avior.me>
This commit is contained in:
2021-10-06 17:57:59 +02:00
parent bb001148a5
commit 8d7a8c70f0
73 changed files with 1508 additions and 6817 deletions

View File

@ -3,7 +3,7 @@ const webpack = require('webpack')
module.exports = {
"stories": [
"../src/dzeio/**/*.stories.tsx",
"../src/**/*.stories.tsx",
],
core: {
builder: "webpack5"

View File

@ -1,3 +1,4 @@
import React from 'react'
// https://stackoverflow.com/a/64765638/7335674
import * as nextImage from 'next/image'

View File

@ -1,8 +1,9 @@
import Router from 'next/router';
import Router from 'next/router'
Router.router = {
push: async () => {},
replace: async () => {},
prefetch: () => {},
route: '/mock-route',
pathname: 'mock-path',};
pathname: 'mock-path',
}

View File

@ -1,7 +1,7 @@
import '../src/dzeio/general.styl'
import '../src/general.styl'
import './mockNextRouter'
import './mockNextImage'
export const parameters = {
layout: 'centered'
}
}