@adobe/aem-core-components-react-base
Version:
AEM - React Implementation for the AEM Core Components
30 lines • 1.52 kB
TypeScript
import React, { MouseEvent } from 'react';
import { CoreComponentModel } from "../../../AbstractCoreComponent";
export interface DownloadV1Model extends CoreComponentModel {
url?: string;
title: string;
titleType: string;
description?: string;
actionText?: string;
filename?: string;
displaySize: boolean;
displayFilename: boolean;
displayFormat: boolean;
format?: string;
size?: string;
extension?: string;
handleOnClick?(event: MouseEvent): void;
}
export declare const getDownloadV1Href: (props: DownloadV1Model) => string;
export declare const DownloadV1HeadingContent: (props: DownloadV1Model) => JSX.Element;
export declare const DownloadV1HeadingElement: (props: DownloadV1Model) => React.ReactElement<{
className: string;
}, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>;
export declare const renderProperty: (label: string, content: string | undefined, cssClassModifier: string, baseCssClass?: string | undefined) => JSX.Element;
export declare const DownloadV1Details: (props: DownloadV1Model) => JSX.Element;
export declare const DownloadV1Description: (props: DownloadV1Model) => JSX.Element;
export declare const DownloadV1Link: (props: DownloadV1Model) => JSX.Element;
export declare const DownloadV1Impl: (props: DownloadV1Model) => JSX.Element;
declare const DownloadV1: (props: DownloadV1Model) => JSX.Element;
export default DownloadV1;
//# sourceMappingURL=DownloadV1.d.ts.map