import { DisabledProps } from '../DisabledTooltip'; import { Text, Box } from '@wix/design-system'; import React, { ReactElement } from 'react'; import { observer } from 'mobx-react-lite'; function _CustomFieldsDisabledHint
(props: { children: ReactElement
;
disabled?: boolean;
content: string;
}) {
const { children, disabled, content } = props;
const { key, props: componentProps, type: Component } = children;
const { dataHook } = componentProps;
return (