mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? Feat: Replace the collapse icon #9869 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
24 lines
533 B
TypeScript
24 lines
533 B
TypeScript
import '@/locales/config';
|
|
import type { Preview } from '@storybook/react-webpack5';
|
|
import { createElement } from 'react';
|
|
import '../public/iconfont.js';
|
|
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;
|