Skip to content

Commit 5c383fb

Browse files
committed
Change compiled name of Class to className.
1 parent 2f502a4 commit 5c383fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Fable.React.TransitionGroup/Fable.Helpers.React.TransitionGroup.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module TransitionGroup =
3535
| OnExiting of (Browser.HTMLElement -> unit)
3636
| OnExited of (Browser.HTMLElement -> unit)
3737
| Children of U2<React.ReactElement, (TransitionStatus -> React.ReactElement)>
38-
| Class of string
38+
| [<CompiledName "className">] Class of string
3939
| Ref of (obj -> obj)
4040
| Key of string
4141
static member Custom(key: string, value: obj): TransitionProp =
@@ -70,7 +70,7 @@ module TransitionGroup =
7070
| OnExited of (Browser.HTMLElement -> unit)
7171
| Children of U2<React.ReactElement, TransitionStatus -> React.ReactElement>
7272
| ClassNames of U2<string, CSSTransitionClassNames>
73-
| Class of string
73+
| [<CompiledName "className">] Class of string
7474
| Ref of (obj -> obj)
7575
| Key of string
7676
static member Custom(key: string, value: obj): CSSTransitionProp =
@@ -80,7 +80,7 @@ module TransitionGroup =
8080
type TransitionGroupProp =
8181
| Component of React.ReactType
8282
| ChildFactory of (React.ReactElement -> React.ReactElement)
83-
| Class of string
83+
| [<CompiledName "className">] Class of string
8484
| Ref of (obj -> obj)
8585
| Key of string
8686
static member Custom(key: string, value: obj): TransitionGroupProp =

0 commit comments

Comments
 (0)