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)
This commit is contained in:
balibabu
2025-09-04 18:02:17 +08:00
committed by GitHub
parent abd19b0f48
commit d04ae3f943
7 changed files with 682 additions and 1 deletions

View File

@ -1,4 +1,7 @@
import type { Preview } from '@storybook/react-webpack5';
import { createElement } from 'react';
import { TooltipProvider } from '../src/components/ui/tooltip';
import '../tailwind.css';
const preview: Preview = {
@ -10,6 +13,9 @@ const preview: Preview = {
},
},
},
decorators: [
(Story) => createElement(TooltipProvider, null, createElement(Story)),
],
};
export default preview;