UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

14 lines (13 loc) 471 B
import { SpacingProps } from '../space/types'; export type UploadFileLinkProps = UploadFileAnchorProps & UploadFileButtonProps; export declare const UploadFileLink: (props: UploadFileLinkProps) => import("react/jsx-runtime").JSX.Element; export default UploadFileLink; type UploadFileButtonProps = { text: string; onClick?: () => void; } & SpacingProps; type UploadFileAnchorProps = { text: string; href: string; download?: boolean; } & SpacingProps;