import {ButtonProps} from 'sentry/components/button'; import Confirm from 'sentry/components/confirm'; import Anchor from './anchor'; type Props = { message: React.ReactNode; onConfirm: () => void; title: string; children?: React.ReactNode; className?: string; disabled?: boolean; priority?: ButtonProps['priority']; }; /** * is a more generic version of this component */ function LinkWithConfirmation({ className, disabled, title, children, ...otherProps }: Props) { return ( {children} ); } export default LinkWithConfirmation;