Skip to content

Commit 27d711a

Browse files
author
Justin
committed
Bump version to 1.1.0-beta-4
1 parent 8b6ab0b commit 27d711a

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

RELEASE_NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 1.1.0-beta-4
2+
3+
* Adding record type for DialogActionProp
4+
15
### 1.1.0-beta-3
26

37
* Module is now public

src/Fable.Helpers.ReactToolbox.fs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,13 +339,13 @@ type DialogTheme =
339339
| Navigation of string
340340
| Title of string
341341

342-
type DialogActionProps =
343-
| Label of string
344-
| OnClick of (React.MouseEvent -> unit)
345-
interface IReactToolboxProp
342+
[<Pojo>]
343+
type DialogActionProp =
344+
{ label: string
345+
onClick: unit -> unit }
346346

347347
type DialogProps =
348-
| Actions of IHTMLProp list array
348+
| Actions of DialogActionProp array
349349
| Active of bool
350350
| Children of React.ReactNode
351351
| OnEscKeyDown of Function

0 commit comments

Comments
 (0)