Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

132
Views
Working with multiple stylesheet links in react Native Expo

this is Antika. I have started learning to code since a few days back, and am only familiar with HTML/CSS/JS, and basics of React

Developer Level: Beginner Project type & language: I am developing a Study planner app for myself, using React Native Expo.

Problem - I have mostly done my programming in traditional ways - HTML, CSS and JS. and have recently moved to advanced languages like React and flutter. How do I Import a list of multiple stylesheets, Like we do in HTML, in react native projects

THESE ARE THE INDIVIDUAL CSS FILES-

    <link rel="stylesheet" href="assets/css/vendor/bootstrap.min.css">
    <link rel="stylesheet" href="assets/css/vendor/font-awesome.css">
    <link rel="stylesheet" href="assets/css/vendor/slick.css">
    <link rel="stylesheet" href="assets/css/vendor/slick-theme.css">
    <link rel="stylesheet" href="assets/css/vendor/base.css">
    <link rel="stylesheet" href="assets/css/plugins/plugins.css">
    <link rel="stylesheet" href="assets/css/style.css">

I am using Expo for this project.

I am still a newbie in React Native and Expo, and still learning about the different features and possible syntax. And I can use any help I get.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Its better to think of styling in react native as a different animal than css. Sort of similar syntax, but different values (mostly), and a bit different way of using them.

In your example you are importing all styles to be used globally, any html can now use those styles.

In react, it's more common to grab what you need when you need it.

For example, if I want to have a style that turns text red I could have a file like

//myStyles.js
export const MyStyles = StyleSheet.create({
  redText: {
    color: 'red',
  },
});

And then in any file you want to use redText

import {MyStyles} from "/path/to/myStyles"

//...other code
<Text style={MyStyles.redText}>this is red </Text>
//... other code

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!