// @ts-nocheck import styled from 'styled-components'; import { Form } from 'formik'; import { Button, Intent } from '@blueprintjs/core'; import { useHistory } from 'react-router-dom'; import { FormattedMessage as T, FFormGroup, FTextArea } from '@/components'; /** * Preferences general form. */ export function PreferencesReceiptsForm({ isSubmitting }) { const history = useHistory(); // Handle close click. const handleCloseClick = () => { history.go(-1); }; return (
); } const CardFooterActions = styled.div` --x-color-border: #e0e7ea; .bp4-dark & { --x-color-border: rgba(255, 255, 255, 0.15); } padding-top: 16px; border-top: 1px solid var(--x-color-border); margin-top: 30px; .bp4-button { min-width: 70px; + .bp4-button { margin-left: 10px; } } `;