You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,14 +20,14 @@ The `<SmartText />` component contains a number of abilities:
20
20
21
21
1. Emoji 😄🥶🤯 it uses [node-emoji](https://www.npmjs.com/package/node-emoji) under the hood
22
22
2. Markdown support for *italics* and **bold**
23
-
3. Nested text support e.g. `<SmartText size={12} color='black'>My nested <SmartText bold>test!</SmartText>` where parent props will be inherited by children.
23
+
3. Nested text support e.g. `<SmartText size={12} color='black'>My nested <SmartText bold>test!</SmartText></SmartText>` where parent props will be inherited by children.
24
24
25
25
## Light Text
26
26
27
27
The `<LightText />` componnet takes all the same props as `<SmartText />` but has no abilities! This component can be used
28
28
to enjoy all the benefits of easy styling and positioning without any of the extra code or processing which comes with `<SmartText />`.
29
29
30
-
- You can also nest `LightText` in a `SmartText`: `<SmartText size={12} color='black'>My nested <LightText bold>test!</LightText>`
30
+
- You can also nest `LightText` in a `SmartText`: `<SmartText size={12} color='black'>My nested <LightText bold>test!</LightText></SmartText>`
0 commit comments