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

124
Views
React Native Render HTML with custom tags

I want to create custom tags using this lib but i got error

There is no custom renderer registered for tag "red" which is not part of the HTML5 standard.

So my code so far

    const source = {
      html: `
    <red>
      dsfsd
    </red>
    `,
    };
    
    const tagsStyles = {
      red: {
        color: "red",
      },
    };
<RenderHtml
 contentWidth={width}
tagsStyles={tagsStyles}
source={source}
/>

I am pretty sure that there is way that i can create text red but i cant really find it. What should i do? If anyone has experience with this library i will be very heppy!

about 4 years ago · Juan Pablo Isaza
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!