Skip to content
This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Commit 8c50314

Browse files
authored
Merge pull request #12 from ItsJimi/fix-readme-typo
2 parents e27b8cb + 3681072 commit 8c50314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ const p = ({classOne, classTwo, classThree}) => html`<p class="${classOne} ${cla
7777
render(p({classOne: 'red', classTwo: 'box', classThree: ''}), document.body)
7878
// ^ Renders `<p class="red box "></p>`
7979

80-
const i = ({classOne, classTwo}) => html`<p class="${classOne}-${classTwo}"></p>`
80+
const i = ({classOne, classTwo}) => html`<i class="${classOne}-${classTwo}"></i>`
8181

82-
render(p({classOne: 'red', classTwo: 'box'}), document.body)
82+
render(i({classOne: 'red', classTwo: 'box'}), document.body)
8383
// ^ Renders `<i class="red-box"></i>`
8484
```
8585

0 commit comments

Comments
 (0)