@activecollab/components
Version:
ActiveCollab Components
15 lines • 724 B
TypeScript
import React, { ReactElement } from "react";
/**
* ImageCard — a full-bleed image and little else. Cover-management controls
* (collapse, remove) appear on hover; there is no other chrome. Fixed-box in
* production (host sets width AND height, the cover scales aspect-locked); shown
* here in the auto-height shell with a reserved image aspect ratio.
*/
export interface ImageCardProps {
color?: string;
src?: string;
}
export declare const ImageCard: ({ color, src, }: ImageCardProps) => ReactElement;
export declare const ImagePlaceholder: (props: React.ButtonHTMLAttributes<HTMLButtonElement>) => ReactElement;
export declare const ImageSkeleton: () => ReactElement;
//# sourceMappingURL=ImageCard.d.ts.map