@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.
15 lines (13 loc) • 367 B
TypeScript
interface IScrollToFieldEventData {
cslpData: {
content_type_uid: string;
entry_uid: string;
locale: string;
path: string;
};
}
interface IScrollToFieldEvent {
data: IScrollToFieldEventData;
}
declare const useScrollToField: () => void;
export { type IScrollToFieldEvent, type IScrollToFieldEventData, useScrollToField };