From the course: From React to React Native
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Finalize the styles - React Native Tutorial
From the course: From React to React Native
Finalize the styles
- [Instructor] So let's finalize our styles for this application here. As we explored styles previously, we can do either a file separate to the actual main file, or the main component, or we can do basically inside of the same file. And that's exactly what we're going to do. Now, how does tiles work inside of React Native? Basically by leveraging the stylesheet.create function inside of React Native, you basically have access to CSS styles that you're familiar with as a web developer. The only difference is it's written differently. So let me show you. So let's go ahead and fix our bar here, 'cause that's fairly annoying, especially from this simulator, as we can see, we have the nudge for the speaker right here. So let's basically fix that. So what am I going to do now is create styles for that top bar. So we have the app bar right here and we're going to create styles for that. So I'm going to basically create a…
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.