Update to Flow from 0.97 to 0.122 (#25204)

* flow 0.122
* update ReactModel type
This commit is contained in:
Jan Kassens
2022-09-08 11:46:07 -04:00
committed by GitHub
parent fe55c0ea09
commit a473d08fce
43 changed files with 109 additions and 51 deletions

View File

@@ -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,

View File

@@ -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%',