fix: adds default values for overlay and click outside close (#1740)

This commit is contained in:
Anshuman Pandey
2023-12-05 16:16:17 +05:30
committed by GitHub
parent 4e8e6390b1
commit d2c703ef60

View File

@@ -38,6 +38,8 @@ export default function StylingCard({ localSurvey, setLocalSurvey, colours }: St
productOverwrites: {
...localSurvey.productOverwrites,
placement: !!placement ? null : "bottomRight",
clickOutsideClose: false,
darkOverlay: false,
},
});
};