We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da72c0b commit b8e3a67Copy full SHA for b8e3a67
docs/Examples/Modal.example.purs
@@ -21,6 +21,7 @@ data ModalTestId
21
| LargeModal
22
| ExtraLargeModal
23
| DialogModal
24
+ | NoCloseButtonModal
25
| LongModal
26
| ErrorModal
27
| ErrorModalWithAction
@@ -187,11 +188,11 @@ docs = unit # make component
187
188
189
, example $
190
button secondary
- { onPress = capture_ $ self.setState _ { modalId = Just DialogModal }
191
+ { onPress = capture_ $ self.setState _ { modalId = Just NoCloseButtonModal }
192
, title = "Open modal, no close button"
193
}
194
- , guard (self.state.modalId == Just DialogModal) $
195
+ , guard (self.state.modalId == Just NoCloseButtonModal) $
196
modal
197
{ modalOpen: true
198
, closeButton: false
0 commit comments