import DownloadOutlined from '@ant-design/icons/lib/icons/DownloadOutlined'; import { Button as AntButton } from 'antd'; import type { BaseButtonProps } from 'antd/lib/button/button'; import type { BaseElementProps } from './types'; type ElementProps = { text: string; }; export default function Link({ value, status, text, ...props }: BaseElementProps & ElementProps) { return ( } {...props} > {text} ); } type LinkProps = BaseButtonProps & ElementProps; export type { LinkProps };