@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 (12 loc) • 628 B
TypeScript
import { VisualBuilderCslpEventDetails } from '../types/visualBuilder.types.js';
import { EntryPermissions } from '../utils/getEntryPermissions.js';
import '../../cslp/types/cslp.types.js';
type FieldDetails = Pick<VisualBuilderCslpEventDetails, "editableElement" | "fieldMetadata">;
interface MultipleFieldToolbarProps {
eventDetails: VisualBuilderCslpEventDetails;
hideOverlay: () => void;
isVariant?: boolean;
entryPermissions?: EntryPermissions;
}
declare function FieldToolbarComponent(props: MultipleFieldToolbarProps): JSX.Element | null;
export { type FieldDetails, FieldToolbarComponent as default };