preview.jsx 637 B

1234567891011121314151617181920212223242526272829
  1. import React from "react";
  2. /** @type { import('@storybook/react-webpack5').Preview } */
  3. const preview = {
  4. parameters: {
  5. controls: {
  6. matchers: {
  7. color: /(background|color)$/i,
  8. date: /Date$/i
  9. }
  10. },
  11. options: {
  12. storySort: {
  13. order: [
  14. "Docs",
  15. [
  16. "Intro",
  17. "Getting Started"
  18. ],
  19. "*"
  20. ]
  21. }
  22. }
  23. },
  24. decorators: [
  25. (Story) => <Story/>
  26. ]
  27. };
  28. export default preview;