From the course: Create a CRM Mobile Application with React Native
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Create company item and list view - React Native Tutorial
From the course: Create a CRM Mobile Application with React Native
Create company item and list view
- [Instructor] Okay, so let's finalize our code with the CompanyItem, which we'll be able to load into CompanyList once we have this one done. So, the first thing I'm going to do is change here. Remove the Component 'cause we're not going to need it. And then, what I'm going to do is add Image to that list here. And finally, import Icon from 'react-native- vector-icons/Material Oops. Let's make sure that forward slash material icon, that's why it wasn't showing. It's because I had a little issue here. Okay, now we'll create the style sheet as usual, styles, stylesheet.create, and we're going to start by doing title top -55, left 150 and font size 24. Then we're going to do each class, which we'll do height of 100, left of zero padding top 5. Then what we're going to do is do action top minus 25. Background color, we're going to do black color white. So basically the background's going to be black and the text's going to be white. And this is going to be for the list of people. Padding…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.