wix-style-react
Version:
8 lines (6 loc) • 403 B
Markdown
## \<Modal/>
*Props:*
- added `screen` - specifies minimum spacing between full viewport and modal content. Spacing calculations in modal layout components have been removed to have logic only on Modal component. Values:
- `desktop` (*default value*) - spacing for desktop modal layouts.
- `mobile` - spacing for mobile modal layouts.
- `full` - enables full screen modal layout without spacing.