Files
ragflow/web/.storybook/preview.ts
balibabu d04ae3f943 Feat: Display AvatarUpload and RAGFlowAvatar in Storybook #9914 (#9920)
### What problem does this PR solve?

Feat: Display AvatarUpload and RAGFlowAvatar in Storybook #9914

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2025-09-04 18:02:17 +08:00

22 lines
474 B
TypeScript

import type { Preview } from '@storybook/react-webpack5';
import { createElement } from 'react';
import { TooltipProvider } from '../src/components/ui/tooltip';
import '../tailwind.css';
const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
decorators: [
(Story) => createElement(TooltipProvider, null, createElement(Story)),
],
};
export default preview;