mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
style: import from './index' instead of '.' (#5590)
Co-authored-by: LongYinan <lynweklm@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { Divider, type DividerProps } from '.';
|
||||
import { Divider, type DividerProps } from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/Divider',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { Empty, type EmptyContentProps } from '.';
|
||||
import { Empty, type EmptyContentProps } from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/Empty',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { InformationIcon } from '@blocksuite/icons';
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { Input, type InputProps } from '.';
|
||||
import { Input, type InputProps } from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/Input',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { MenuTrigger, type MenuTriggerProps } from '.';
|
||||
import { MenuTrigger, type MenuTriggerProps } from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/MenuTrigger',
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
MenuSeparator,
|
||||
MenuSub,
|
||||
MenuTrigger,
|
||||
} from '.';
|
||||
} from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/Menu',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { ScrollableContainer, type ScrollableContainerProps } from '.';
|
||||
import { ScrollableContainer, type ScrollableContainerProps } from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/Scrollbar',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { Skeleton, type SkeletonProps } from '.';
|
||||
import { Skeleton, type SkeletonProps } from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/Skeleton',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { Switch, type SwitchProps } from '.';
|
||||
import { Switch, type SwitchProps } from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/Switch',
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
TableCell,
|
||||
TableHead,
|
||||
TableHeadRow,
|
||||
} from '.';
|
||||
} from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/Table',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { useCallback, useState } from 'react';
|
||||
|
||||
import { Button } from '../button';
|
||||
import { toast } from '.';
|
||||
import { toast } from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/Toast',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { Meta, StoryFn } from '@storybook/react';
|
||||
|
||||
import { Button } from '../button';
|
||||
import Tooltip, { type TooltipProps } from '.';
|
||||
import Tooltip, { type TooltipProps } from './index';
|
||||
|
||||
export default {
|
||||
title: 'UI/Tooltip',
|
||||
|
||||
Reference in New Issue
Block a user