@activecollab/components
Version:
ActiveCollab Components
11 lines • 601 B
TypeScript
import React from "react";
import { PortableTextMediaBlock, PortableTextMediaImageVariant } from "../PortableText/types";
export interface IMediaProps extends Omit<PortableTextMediaBlock, "type" | "variant">, React.ComponentPropsWithoutRef<"div"> {
variant?: PortableTextMediaImageVariant;
}
/**
* An image block: a screenshot renders framed (border, no shadow), a flat
* illustration renders without a frame. The caption sits below the frame.
*/
export declare const Media: React.ForwardRefExoticComponent<IMediaProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Media.d.ts.map