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 8b6ab0b commit 27d711aCopy full SHA for 27d711a
RELEASE_NOTES.md
@@ -1,3 +1,7 @@
1
+### 1.1.0-beta-4
2
+
3
+* Adding record type for DialogActionProp
4
5
### 1.1.0-beta-3
6
7
* Module is now public
src/Fable.Helpers.ReactToolbox.fs
@@ -339,13 +339,13 @@ type DialogTheme =
339
| Navigation of string
340
| Title of string
341
342
-type DialogActionProps =
343
- | Label of string
344
- | OnClick of (React.MouseEvent -> unit)
345
- interface IReactToolboxProp
+[<Pojo>]
+type DialogActionProp =
+ { label: string
+ onClick: unit -> unit }
346
347
type DialogProps =
348
- | Actions of IHTMLProp list array
+ | Actions of DialogActionProp array
349
| Active of bool
350
| Children of React.ReactNode
351
| OnEscKeyDown of Function
0 commit comments