UNPKG

@brizy/ui

Version:
15 lines (14 loc) 625 B
import { ApplyProperties } from "../types"; import { CaptionProps, Props } from "."; export declare const getSizeProperties: ({ height, width, }: { height?: string; width?: string; }) => ApplyProperties<{ "--brz-ui-image-with-caption-width"?: string; "--brz-ui-image-with-caption-height"?: string; }>; export declare const getCaptionSizeProperties: (width?: string, height?: string) => ApplyProperties<{ "--brz-ui-image-with-caption-figcaption-width"?: string; "--brz-ui-image-with-caption-figcaption-height"?: string; }>; export declare const getCaption: (caption: Props["caption"]) => CaptionProps;