I'm getting data from API into `FlatList` in my expo app but the issue is there is more than 500+ records but I want to show only 10 records in `FlatList` so is there any way to do that?

```
export default class HomeScreen extends Component {
    constructor() {
        super()
        this.state = {
            itemList: []
        }
    }
    componentWillMount() {
        axios.get('myApiUri')
            .then((response) => {
                this.setState({
                    itemList: response.data
                });
                console.log("Data", response.data)
            })
            .catch(error => console.log("Errorrr:" + error))
    }
    // renderItem(data) {
    //     return (

    //     );
    // }
    render() {
        return (
            <Container style={{ flex: 1, flexDirection: 'row' }}>
                <FlatList
                    data={this.state.itemList}

                    // columnWrapperStyle={{ justifyContent: "space-around", flex: 1 }}
                    maxToRenderPerBatch={10}
                    horizontal
                    renderItem={({ item }) => {
                        return (
                            <View style={{ width: 150, paddingHorizontal: 3 }}>
                                <Card style={{ height: 200, padding:0 }}>
                                    <CardItem>
                                        <Body>
                                            <Image source={{ uri: item.MainImg }} style={{ width: '100%', height: 150 }} />
                                            {item.ItemName.length > 10 ? <Text style={style.productTitle} numberOfLines={1}>{item.ItemName.substring(0,18) + '...'}</Text> : <Text numberOfLines={1} style={style.productTitleLess}>{item.ItemName}</Text>}
                                        </Body>
                                    </CardItem>
                                </Card>
                            </View>
                        );
                    }}
                    keyExtractor={item => item.ID}
                />
            </Container>
        );
    }
}

```