Basic working file rename modal

This commit is contained in:
Dane Everitt 2019-08-02 22:22:01 -07:00
parent f4d0694670
commit 2716ff8841
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 120 additions and 12 deletions

View file

@ -4,9 +4,12 @@ import { faTimes } from '@fortawesome/free-solid-svg-icons/faTimes';
import { CSSTransition } from 'react-transition-group';
import Spinner from '@/components/elements/Spinner';
interface Props {
export interface RequiredModalProps {
visible: boolean;
onDismissed: () => void;
}
type Props = RequiredModalProps & {
dismissable?: boolean;
closeOnEscape?: boolean;
closeOnBackground?: boolean;