Proposal to add inline styles to Modal elements, which will allow for overwriting default style values.
Attempts to fix #7 and allow manual fixes to #10 and #18 by using width: '80%' or any other value for width other than the default 500px. Previously, there was code in modalFactory.js that used a prop titled customStyle that didn't actually exist. This expands on that idea by exposing 3 new props, 1 for each the styles defined individually for each Modal type (modalStyle, backdropStyle and contentStyle).
Proposal to add inline styles to Modal elements, which will allow for overwriting default style values.
Attempts to fix #7 and allow manual fixes to #10 and #18 by using
width: '80%'
or any other value forwidth
other than the default500px
. Previously, there was code inmodalFactory.js
that used a prop titledcustomStyle
that didn't actually exist. This expands on that idea by exposing 3 new props, 1 for each the styles defined individually for each Modal type (modalStyle
,backdropStyle
andcontentStyle
).