@@ -12,7 +12,7 @@ type ActiveChange = ({| isActive: boolean |}) => void
1212
1313type ActiveRender = ({|
1414 isActive: boolean,
15- bindActive : {| onMouseDown: () => void, onMouseUp: () => void |},
15+ bind : {| onMouseDown: () => void, onMouseUp: () => void |},
1616|}) => React.Node
1717
1818declare export var Active: React.ComponentType<
@@ -43,11 +43,11 @@ declare export var Counter: React.ComponentType<
4343
4444/* Focus */
4545
46- type FocusChange = ({| isFocus : boolean |}) => void
46+ type FocusChange = ({| isFocused : boolean |}) => void
4747
4848type FocusRender = ({|
49- isFocus : boolean,
50- bindFocus : {| onFocusIn : () => void, onFocusOut : () => void |},
49+ isFocused : boolean,
50+ bind : {| onFocus : () => void, onBlur : () => void |},
5151|}) => React.Node
5252
5353declare export var Focus: React.ComponentType<
@@ -84,11 +84,11 @@ declare export class Form<T: { [string]: string }> extends React.Component<
8484
8585/* Hover */
8686
87- type HoverChange = ({| isHover : boolean |}) => void
87+ type HoverChange = ({| isHovered : boolean |}) => void
8888
8989type HoverRender = ({|
90- isHover : boolean,
91- bindHover : {| onMouseEnter: () => void, onMouseLeave: () => void |},
90+ isHovered : boolean,
91+ bind : {| onMouseEnter: () => void, onMouseLeave: () => void |},
9292|}) => React.Node
9393
9494declare export var Hover: React.ComponentType<
@@ -119,7 +119,7 @@ type ListRender<T> = ({|
119119 list: $ReadOnlyArray<T>,
120120 first: () => T | void,
121121 last: () => T | void,
122- setList: ($ReadOnlyArray <T>) => void ,
122+ set: Updater <T>,
123123 push: (value: T) => void,
124124 pull: (predicate: (T) => boolean) => void,
125125 sort: (compare: (a: T, b: T) => -1 | 0 | 1) => void,
@@ -232,7 +232,7 @@ type ValueChange<T> = ({| value: T |}) => void
232232
233233type ValueRender<T> = ({|
234234 value: T,
235- setValue: T => void ,
235+ set: Updater<T> ,
236236|}) => React.Node
237237
238238type ValueProps<T> =
0 commit comments