|
@@ -18,6 +18,7 @@ type Props = {
|
|
|
children?: ReactNode,
|
|
children?: ReactNode,
|
|
|
testId?: string,
|
|
testId?: string,
|
|
|
height?: string,
|
|
height?: string,
|
|
|
|
|
+ width?: string,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
const Modal: FC<Props> = function({
|
|
const Modal: FC<Props> = function({
|
|
@@ -29,10 +30,11 @@ const Modal: FC<Props> = function({
|
|
|
children,
|
|
children,
|
|
|
testId,
|
|
testId,
|
|
|
height,
|
|
height,
|
|
|
|
|
+ width,
|
|
|
}) {
|
|
}) {
|
|
|
const styles: ReactModalStyle = {
|
|
const styles: ReactModalStyle = {
|
|
|
content: {
|
|
content: {
|
|
|
- width: '680px',
|
|
|
|
|
|
|
+ width: width ?? '680px',
|
|
|
overflow: 'visible',
|
|
overflow: 'visible',
|
|
|
borderRadius: '10px',
|
|
borderRadius: '10px',
|
|
|
height: height ?? '560px',
|
|
height: height ?? '560px',
|