Storybook requires default Ant Design component to be exported for styling to be applied
问题 I'm looking to design some of my React Components using Ant Design and documenting them in Storybook. Both the storybook and components are written correctly and working. modal.stories.js import React from "react"; import { action } from "@storybook/addon-actions"; import { Button } from "@storybook/react/demo"; import { BasicModal } from "./BasicModal"; import { Modal } from "antd"; // IF I REMOVE THIS ANT DESIGN DOESN'T APPLY. export default { title: "Modals" }; export const basicModal = ()