Skip to content

Commit

Permalink
chore(interfaces): fix modal interface
Browse files Browse the repository at this point in the history
  • Loading branch information
poteirard committed Jul 11, 2022
1 parent 216b9aa commit 9693676
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/molecules/Modal/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import { faTimes } from '@fortawesome/free-solid-svg-icons';
import { colors } from '../../../constants/colors';
import styled from 'styled-components';
import { spacing } from '../../../constants/spacing';
import { CardProps } from '../../../../types/components/organisms/Card/Card/Card';

export interface ModalProps extends ReactModal.Props {
showCloseButton?: boolean;
hideBackground?: boolean;
children: React.ReactNode;
children: React.ReactElement<CardProps>;
}

const Button = styled.button`
Expand Down

0 comments on commit 9693676

Please sign in to comment.