mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-29 17:12:37 +00:00
[fix] Remove StyleSheet.compose(a, b) in FlatList
Close #2555 Fix #2554
This commit is contained in:
committed by
Nicolas Gallagher
parent
9d7dca1204
commit
3babcc4587
@@ -627,7 +627,7 @@ class FlatList<ItemT> extends React.PureComponent<Props<ItemT>, void> {
|
|||||||
'Expected array of items with numColumns > 1',
|
'Expected array of items with numColumns > 1',
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<View style={StyleSheet.compose(styles.row, columnWrapperStyle)}>
|
<View style={[styles.row, columnWrapperStyle]}>
|
||||||
{item.map((it, kk) => {
|
{item.map((it, kk) => {
|
||||||
const element = render({
|
const element = render({
|
||||||
// $FlowFixMe[incompatible-call]
|
// $FlowFixMe[incompatible-call]
|
||||||
|
|||||||
Reference in New Issue
Block a user