@@ -19,7 +19,7 @@ module TransitionGroup =
1919 | [<CompiledName( " unmounted" ) >] Unmounted
2020
2121 [<RequireQualifiedAccess>]
22- type TransitionProps =
22+ type TransitionProp =
2323 | In of bool
2424 | Appear of bool
2525 | Enter of bool
@@ -38,7 +38,7 @@ module TransitionGroup =
3838 | Class of string
3939 | Ref of ( obj -> obj )
4040 | Key of string
41- static member Custom ( key : string , value : obj ): TransitionProps =
41+ static member Custom ( key : string , value : obj ): TransitionProp =
4242 unbox( key, value)
4343
4444 type CSSTransitionClassNames = {
@@ -53,7 +53,7 @@ module TransitionGroup =
5353 }
5454
5555 [<RequireQualifiedAccess>]
56- type CSSTransitionProps =
56+ type CSSTransitionProp =
5757 | In of bool
5858 | Appear of bool
5959 | Enter of bool
@@ -73,37 +73,37 @@ module TransitionGroup =
7373 | Class of string
7474 | Ref of ( obj -> obj )
7575 | Key of string
76- static member Custom ( key : string , value : obj ): CSSTransitionProps =
76+ static member Custom ( key : string , value : obj ): CSSTransitionProp =
7777 unbox( key, value)
7878
7979 [<RequireQualifiedAccess>]
80- type TransitionGroupProps =
80+ type TransitionGroupProp =
8181 | Component of React.ReactType
8282 | ChildFactory of ( React.ReactElement -> React.ReactElement )
8383 | Class of string
8484 | Ref of ( obj -> obj )
8585 | Key of string
86- static member Custom ( key : string , value : obj ): TransitionGroupProps =
86+ static member Custom ( key : string , value : obj ): TransitionGroupProp =
8787 unbox( key, value)
8888
8989 let private asNode ( el : React.ReactElement ): React.ReactNode =
9090 !^(! ^el : React.ReactChild)
9191
92- let transition ( props : TransitionProps list) ( child : React.ReactElement ): React.ReactElement =
93- let props = ( TransitionProps .Children !^( asNode child)):: props
92+ let transition ( props : TransitionProp list) ( child : React.ReactElement ): React.ReactElement =
93+ let props = ( TransitionProp .Children !^( asNode child)):: props
9494 ofImport " Transition" " react-transition-group" ( keyValueList CaseRules.LowerFirst props) []
9595
96- let transitionWithRender ( props : TransitionProps list) ( render : TransitionStatus -> React.ReactNode ): React.ReactElement =
97- let props = ( TransitionProps .Children ! ^render ):: props
96+ let transitionWithRender ( props : TransitionProp list) ( render : TransitionStatus -> React.ReactNode ): React.ReactElement =
97+ let props = ( TransitionProp .Children ! ^render ):: props
9898 ofImport " Transition" " react-transition-group" ( keyValueList CaseRules.LowerFirst props) []
9999
100- let cssTransition ( props : CSSTransitionProps list) ( child : React.ReactElement ): React.ReactElement =
101- let props = ( CSSTransitionProps .Children !^( asNode child)):: props
100+ let cssTransition ( props : CSSTransitionProp list) ( child : React.ReactElement ): React.ReactElement =
101+ let props = ( CSSTransitionProp .Children !^( asNode child)):: props
102102 ofImport " CSSTransition" " react-transition-group" ( keyValueList CaseRules.LowerFirst props) []
103103
104- let cssTransitionWithRender ( props : CSSTransitionProps list) ( render : TransitionStatus -> React.ReactNode ): React.ReactElement =
105- let props = ( CSSTransitionProps .Children ! ^render ):: props
104+ let cssTransitionWithRender ( props : CSSTransitionProp list) ( render : TransitionStatus -> React.ReactNode ): React.ReactElement =
105+ let props = ( CSSTransitionProp .Children ! ^render ):: props
106106 ofImport " CSSTransition" " react-transition-group" ( keyValueList CaseRules.LowerFirst props) []
107107
108- let transitionGroup ( props : TransitionGroupProps list) ( children : React.ReactElement list ): React.ReactElement =
108+ let transitionGroup ( props : TransitionGroupProp list) ( children : React.ReactElement list ): React.ReactElement =
109109 ofImport " TransitionGroup" " react-transition-group" ( keyValueList CaseRules.LowerFirst props) children
0 commit comments