mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
Update to Flow from 0.97 to 0.122 (#25204)
* flow 0.122 * update ReactModel type
This commit is contained in:
@@ -613,6 +613,7 @@ export default function createGridComponent({
|
||||
} else {
|
||||
itemStyleCache[key] = style = {
|
||||
position: 'absolute',
|
||||
// $FlowFixMe computed properties are unsupported
|
||||
[direction === 'rtl' ? 'right' : 'left']: getColumnOffset(
|
||||
this.props,
|
||||
columnIndex,
|
||||
|
||||
@@ -469,6 +469,7 @@ export default function createListComponent({
|
||||
|
||||
itemStyleCache[index] = style = {
|
||||
position: 'absolute',
|
||||
// $FlowFixMe computed properties are unsupported
|
||||
[direction === 'rtl' ? 'right' : 'left']: isHorizontal ? offset : 0,
|
||||
top: !isHorizontal ? offset : 0,
|
||||
height: !isHorizontal ? size : '100%',
|
||||
|
||||
Reference in New Issue
Block a user