UNPKG

@codegouvfr/react-dsfr

Version:

French State Design System React integration library

15 lines (14 loc) 642 B
import React, { type CSSProperties, type ReactNode } from "react"; import { type RegisteredLinkProps } from "./link"; export type DownloadProps = { id?: string; className?: string; style?: CSSProperties; details: ReactNode; label: ReactNode; linkProps: RegisteredLinkProps; classes?: Partial<Record<"root" | "wrapper" | "link" | "details", string>>; }; /** @see <https://components.react-dsfr.codegouv.studio/?path=/docs/components-download> */ export declare const Download: React.MemoExoticComponent<React.ForwardRefExoticComponent<DownloadProps & React.RefAttributes<HTMLDivElement>>>; export default Download;