import { CSSProperties } from "react"; import "./index.less"; import { Collapse, CollapseProps, theme } from "antd"; import { CaretRightOutlined } from "@ant-design/icons"; interface LabelProps { children?: JSX.Element; } const content = (
1
, style: panelStyle, }, ]; export const Label = (props: LabelProps) => { const { token } = theme.useToken(); const panelStyle: React.CSSProperties = { marginBottom: 12, background: token.colorFillAlter, borderRadius: token.borderRadiusLG, border: "none", }; return (