Fix storybook errors
This commit is contained in:
parent
6f6b9bcda8
commit
85dc3bf21e
@ -1,4 +1,5 @@
|
||||
import PropTypes from 'prop-types';
|
||||
import React from 'react';
|
||||
import { FC } from 'react';
|
||||
|
||||
export type ColorProps = {
|
@ -1,5 +1,5 @@
|
||||
import { Canvas, Meta, Story } from '@storybook/addon-docs';
|
||||
import { Color, ColorRow } from '../../components/Color';
|
||||
import { ColorRow } from './Color';
|
||||
|
||||
<Meta title="owncast/Style Guide/Default Theme" />
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
import React from 'react';
|
||||
import { FC } from 'react';
|
||||
|
||||
export type ImageAssetProps = {
|
@ -1,5 +1,5 @@
|
||||
import { Canvas, Meta, Story } from '@storybook/addon-docs';
|
||||
import { Image, ImageRow } from '../../components/ImageAsset';
|
||||
import { Image, ImageRow } from './ImageAsset';
|
||||
|
||||
import Logo from '../../assets/images/logo.svg';
|
||||
import FediverseColor from '../../assets/images/fediverse-color.png';
|
||||
@ -21,7 +21,6 @@ export const images = [
|
||||
|
||||
## TODO: Determine the icon style/images for v2 of the web UI.
|
||||
|
||||
|
||||
<ImageRow images={images} />
|
||||
|
||||
## App Icons
|
||||
|
@ -11,7 +11,7 @@ module.exports = withBundleAnalyzer(
|
||||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
swcMinify: false,
|
||||
swcMinify: true,
|
||||
webpack(config) {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/i,
|
||||
|
Loading…
x
Reference in New Issue
Block a user