@contentstack/live-preview-utils
Version:
Contentstack provides the Live Preview SDK to establish a communication channel between the various Contentstack SDKs and your website, transmitting live changes to the preview pane.
19 lines (17 loc) • 436 B
TypeScript
declare function getPsuedoEditableEssentialStyles({ rect, camelCase, }: {
rect: DOMRect;
camelCase: boolean | undefined;
}): {
[key: string]: string;
} | {
position: string;
top: string;
left: string;
height: string;
"min-height": string;
"white-space": string;
"text-transform": string;
"text-wrap-mode": string;
"text-overflow": string;
};
export { getPsuedoEditableEssentialStyles };