import React, { memo } from "react"; import { Icon, IconSize } from "@design-system/widgets-old"; import { Button } from "@blueprintjs/core"; import { Colors } from "constants/Colors"; import { isEmptyOrNill } from "../../../utils/helpers"; import { StyledDiv } from "./index.styled"; import { CLASSNAMES } from "../constants"; export interface SelectButtonProps { disabled?: boolean; displayText?: string; handleCancelClick?: (event: React.MouseEvent) => void; // TODO: Fix this the next time the file is edited // eslint-disable-next-line @typescript-eslint/no-explicit-any spanRef?: any; togglePopoverVisibility: () => void; tooltipText?: string; value?: string; hideCancelIcon?: boolean; } function SelectButton(props: SelectButtonProps) { const { disabled, displayText, handleCancelClick, hideCancelIcon, spanRef, togglePopoverVisibility, tooltipText, value, } = props; return ( ); } export default memo(SelectButton);