Fix storybook errors

This commit is contained in:
Gabe Kangas 2023-01-10 00:58:39 -08:00
parent 6f6b9bcda8
commit 85dc3bf21e
No known key found for this signature in database
GPG key ID: 4345B2060657F330
5 changed files with 5 additions and 4 deletions

View file

@ -1,4 +1,5 @@
import PropTypes from 'prop-types';
import React from 'react';
import { FC } from 'react';
export type ColorProps = {

View file

@ -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" />

View file

@ -1,3 +1,4 @@
import React from 'react';
import { FC } from 'react';
export type ImageAssetProps = {

View file

@ -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

View file

@ -11,7 +11,7 @@ module.exports = withBundleAnalyzer(
images: {
unoptimized: true,
},
swcMinify: false,
swcMinify: true,
webpack(config) {
config.module.rules.push({
test: /\.svg$/i,