import React from 'react';
import PropTypes from 'prop-types';
import { useI18nContext } from '../../../../hooks/useI18nContext';
import Typography from '../../../ui/typography/typography';
import { TYPOGRAPHY } from '../../../../helpers/constants/design-system';
import Box from '../../../ui/box/box';
import Popover from '../../../ui/popover';
import Button from '../../../ui/button';
export default function SnapRemoveWarning({ onCancel, onSubmit, snapName }) {
const t = useI18nContext();
const SnapRemoveWarningFooter = () => {
return (
<>
>
);
};
return (
}
onClose={onCancel}
headerProps={{ padding: [6, 4, 0, 6] }}
>
{t('removeSnapConfirmation', [snapName])}
);
}
SnapRemoveWarning.propTypes = {
/**
* onCancel handler
*/
onCancel: PropTypes.func,
/**
* onSubmit handler
*/
onSubmit: PropTypes.func,
/**
* Name of snap
*/
snapName: PropTypes.string,
};