Skip to content

Commit a622941

Browse files
author
Luke Brandon Farrell
authored
Update README.md
1 parent 46edbac commit a622941

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ The `<SmartText />` component contains a number of abilities:
2020

2121
1. Emoji 😄🥶🤯 it uses [node-emoji](https://www.npmjs.com/package/node-emoji) under the hood
2222
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.
2424

2525
## Light Text
2626

2727
The `<LightText />` componnet takes all the same props as `<SmartText />` but has no abilities! This component can be used
2828
to enjoy all the benefits of easy styling and positioning without any of the extra code or processing which comes with `<SmartText />`.
2929

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>`
3131

3232
## Props
3333

0 commit comments

Comments
 (0)