import { Button } from 'antd'; import cx from 'classnames'; import React, { HTMLAttributes } from 'react'; import './index.less'; interface CardbarProps extends HTMLAttributes { delete?: () => void; } const exec = (func: Function, ...args: any[]) => (e?: React.MouseEvent) => { e && e.preventDefault(); return func(...args); }; export const Cardbar: React.FC = props => { return (
{props.children} {}
); };