react-native-json-grid-list
Version:
This library will help you create impressive grid lists like these.
10 lines (7 loc) • 300 B
text/typescript
import styled from 'styled-components/native';
import {FlatList} from 'react-native';
import {ItemType, SeparatorProps} from './types';
export const List = styled(FlatList as new () => FlatList<ItemType>)``;
export const Separator = styled.View<SeparatorProps>`
height: ${({size}) => size}px;
`;