import { RcIcon } from '@ringcentral/juno'; import { Blocked } from '@ringcentral/juno-icon'; import React from 'react'; import { Tooltip } from '../Rcui/Tooltip'; import i18n from './i18n'; import styles from './styles.scss'; type DoNotCallIndicatorProps = { doNotCall?: boolean; currentLocale: string; }; /** * @deprecated please use ringcentral-js-widgets/ringcentral-widgets/components/ContactSearchPanel/DoNotCallIndicator.tsx */ export const DoNotCallIndicator: React.FC = ({ doNotCall, currentLocale, }) => { if (!doNotCall) return null; return (
); }; DoNotCallIndicator.defaultProps = { doNotCall: false, };