ref(TS) Convert some components to TS (#13142)

This commit is contained in:
Robert Pintilii
2023-04-04 10:21:53 +03:00
committed by GitHub
parent aa3a8f24b8
commit 0bea2926d2
60 changed files with 316 additions and 383 deletions

View File

@@ -7,6 +7,7 @@ import { IReduxState } from '../../../app/types';
import { isMobileBrowser } from '../../environment/utils';
import Popover from '../../popover/components/Popover.web';
import { withPixelLineHeight } from '../../styles/functions.web';
import { TOOLTIP_POSITION } from '../../ui/constants.any';
import { hideTooltip, showTooltip } from '../actions';
const TOOLTIP_DELAY = 300;
@@ -16,7 +17,7 @@ interface IProps {
children: ReactElement;
containerClassName?: string;
content: string;
position?: 'top' | 'bottom' | 'left' | 'right';
position?: TOOLTIP_POSITION;
}
const useStyles = makeStyles()(theme => {