import * as React from 'react';
import noop from 'lodash/noop';
import { FormattedMessage } from 'react-intl';
import InfoBadge16 from '../../icon/fill/InfoBadge16';
// @ts-ignore flow import
import Toggle from '../../components/toggle';
import Tooltip from '../../components/tooltip';
import messages from './messages';
import './AdvancedContentInsightsToggle.scss';
interface Props {
hasDescription?: boolean;
hasTooltip?: boolean;
isChecked?: boolean;
isDisabled: boolean;
onChange?: (isEnabled: boolean) => void;
}
const AdvancedContentInsightsToggle = ({
hasDescription,
hasTooltip = true,
isChecked = false,
isDisabled,
onChange = noop,
}: Props) => {
const description = ;
const label = (
<>
{hasTooltip && (
)}
>
);
return (
onChange(!isChecked)}
/>
);
};
export default AdvancedContentInsightsToggle;