import { Button, type ButtonProps, Tooltip } from '@mantine/core'; import { useState } from 'react'; import type { SpecialIDProps } from '../FormerControllers.types'; const ButtonCtrl = ( props: { onClick?: (e?: React.MouseEvent) => Promise; } & Omit & SpecialIDProps ) => { const [loading, setLoading] = useState(false); return ( ); }; export { ButtonCtrl }; export default ButtonCtrl;