refactor(web): move contact modal to component (#1718)
This commit is contained in:
1 parent
edf7913e12
commit
69b13aa30f
12 files changed
+88
-18
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import '@blocksuite/editor/themes/affine.css';
|
||||
|
||||
import { getDarkTheme, getLightTheme, ThemeProvider } from '../src';
|
||||
import { getDarkTheme, getLightTheme, ThemeProvider } from '@affine/component';
|
||||
import { useDarkMode } from 'storybook-dark-mode-v7';
|
||||
export const parameters = {
|
||||
actions: { argTypesRegex: '^on[A-Z].*' },
|
||||
|
||||
@@ -18,6 +18,9 @@ const config: Pick<StorybookConfig, 'viteFinal'> = {
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': resolve(fileURLToPath(new URL('../src', import.meta.url))),
|
||||
'@affine/component': resolve(
|
||||
fileURLToPath(new URL('../src/index.ts', import.meta.url))
|
||||
),
|
||||
'@affine/i18n': resolve(
|
||||
fileURLToPath(new URL('../../i18n/src', import.meta.url))
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user