question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

helpwanted: style.myStyle not working ?

See original GitHub issue

below: ‘item’ is a json object.

<HTML html={item.title.render} style={style.myStyle} />

The title shows up but I can’t style the text…how can I set a style sheet on the text that’s coming off the object with your package ?

And so that we’re clear, yes I read > https://github.com/archriss/react-native-render-html/issues/145

If I understand your package properly, this package only understands embedded css within the HTML and then allows me style it from there. That’s great! However, what happens if i have an object like what I’m showing above where it’s the title of a post (wordpress) and there is no embedded css that it’s pulling ? So should I be able to style the text from the object and not the direct html ?

Thanks.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15

github_iconTop GitHub Comments

2reactions
magicmilescommented, Oct 2, 2018

Jesus. I’m an idiot some days …

My import statement was import HE from 'he'; and it should have been import he from 'he';

Good lord!

Problem solved. Issue closed. And now my app works.

Now I just gotta clean up the visuals a little and we’re good to go and I can actually publish this thing as a working demo but that’s a whole different thread.

Yeah, you’re right the “NO ERRORS” thing is way to inconspicuous. That needs to be a radio button like everything else on that bottom row. Never would have seen that or clicked on it. Not exactly the easiest thing to find.

0reactions
tclarke-scottlogiccommented, Oct 2, 2018

Ah, typos. In other industries, a minor issue for pendants. In ours, failures that bring entire systems to their knees.

Have a good evening!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why are my CSS3 media queries not working on mobile ...
All three of these were helpful tips, but it looks like I needed to add a meta tag: <meta content="width=device-width, initial-scale=1" name="viewport" />....
Read more >
Style Sheets in HTML documents - W3C
14.1 Introduction to style sheets. Style sheets represent a major breakthrough for Web page designers, expanding their ability to improve the appearance of ......
Read more >
Self-Hosted Material Icon Not Showing On Both Chrome and IE
I rename the file downloaded and copy it in my font folder, and write the route in my style sheet in that @font-face...
Read more >
I Draw Your Original Characters in My Style! - YouTube
Hundreds of you submitted your OCs for me to draw in my art style ! I am creating these digital illustrations in Clip...
Read more >
5 Tips For Handling Different Work Styles Among Employees
Employees all work differently, especially in a hybrid landscape. Here are five tips to successfully lead a team with unique work styles.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found