@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.
18 lines (14 loc) • 385 B
TypeScript
import React from 'preact/compat';
/** @jsxImportSource preact */
interface TooltipProps {
content: string;
children: React.ReactNode;
position?: "top" | "bottom" | "left" | "right";
className?: string;
testId?: string;
}
declare const Tooltip: {
(props: TooltipProps): JSX.Element;
defaultProps: Partial<TooltipProps>;
};
export { Tooltip as default };