import { forwardRef } from 'react' import Tooltip from '../tooltip' import classnames from 'classnames' import { DropdownProps } from 'react-bootstrap' import { MergeAndOverride } from '../../../../../types/utils' type CustomToggleProps = MergeAndOverride< Pick, { children: React.ReactNode bsRole: 'toggle' className?: string tooltipProps: Omit, 'children'> } > const DropdownToggleWithTooltip = forwardRef< HTMLButtonElement, CustomToggleProps >(function (props, ref) { const { tooltipProps, children, bsClass, className, open, bsRole: _bsRole, ...rest } = props return ( ) }) DropdownToggleWithTooltip.displayName = 'DropdownToggleWithTooltip' export default DropdownToggleWithTooltip