UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

14 lines (13 loc) 480 B
import type { SpacingProps } from '../../shared/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;