import { DisabledProps, DisabledTooltip, DisabledTooltipProps, } from '../DisabledTooltip'; import React from 'react'; import { observer } from 'mobx-react-lite'; function _CustomFieldsDisabledTooltip
( props: DisabledTooltipProps
& {
disabled?: boolean;
content: string;
},
) {
const { children, disabled, content, ...rest } = props;
const { key, props: componentProps, type: Component } = children;
const { dataHook } = componentProps;
return (