fix(seed): Fixed broken link in React Introducing Inline Styl (#17040)

* fix(seed): Fixed broken link in React Introducing Inline Styl

* fix(seed): Fixed broken link in React Introducing Inline Style
This commit is contained in:
Edit Bazso
2018-04-08 12:06:11 +10:00
committed by mstellaluna
parent ad2d782c4d
commit b208c477fc

View File

@ -2151,7 +2151,7 @@
"title": "Introducing Inline Styles",
"releasedOn": "December 25, 2017",
"description": [
"There are other complex concepts that add powerful capabilities to your React code. But you may be wondering about the more simple problem of how to style those JSX elements you create in React. You likely know that it won't be exactly the same as working with HTML because of <a target=\"_blank\" href=\"link to classes challenge\"> the way you apply classes to JSX elements</a>.",
"There are other complex concepts that add powerful capabilities to your React code. But you may be wondering about the more simple problem of how to style those JSX elements you create in React. You likely know that it won't be exactly the same as working with HTML because of <a target=\"_blank\" href=\"define-an-html-class-in-jsx\"> the way you apply classes to JSX elements</a>.",
"If you import styles from a stylesheet, it isn't much different at all. You apply a class to your JSX element using the <code>className</code> attribute, and apply styles to the class in your stylesheet. Another option is to apply <strong><em>inline</em></strong> styles, which are very common in ReactJS development.",
"You apply inline styles to JSX elements similar to how you do it in HTML, but with a few JSX differences. Here's an example of an inline style in HTML:",
"<code>&lt;div style=\"color: yellow; font-size: 16px\"&gt;Mellow Yellow&lt;/div&gt;</code>",