New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-native-item-list

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-item-list

The React Native ListItem package is a versatile, easy-to-use solution for creating interactive item lists in your React Native applications. Designed to simplify the process of creating and displaying item lists, this package offers maximum flexibility w

latest
Source
npmnpm
Version
1.0.8
Version published
Maintainers
1
Created
Source

react-native-item-list

npm version license npm

A simple React Native component for displaying list-item in your projects.

Installation

npm install react-native-list-item

Usage

Import the Card component into the part where you want to use it.

Example :

import React from 'react';
import { View } from 'react-native';
import ListItem from 'react-native-list-item';

const App = () => {
  return (
    <View>
      <ListItem
        image={'https://placehold.co/500x500/png'}
        title={"First Item"}
        icon={require('./src/ListItem/icons/menu.png')}
       />
    </View>
  );
};
export default App;

Customization

If you want to pass an image or icon with the url, don't specify the uri, use it as in the example above

An overview

Texte alternatif

Keywords

react-native

FAQs

Package last updated on 22 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts