1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-28 17:39:57 +02:00

Change B to I in code example (#3256)

Fixes a ridiculously small typo in the rendering code example.
This commit is contained in:
Ryan Gurney
2019-12-05 15:58:41 -08:00
committed by Ian Storm Taylor
parent 5c37bfc024
commit 6aae94156b

View File

@@ -127,7 +127,7 @@ const Toolbar = () => {
return (
<div>
<Button active={isBoldActive(editor)}>B</Button>
<Button active={isItalicActive(editor)}>B</Button>
<Button active={isItalicActive(editor)}>I</Button>
</div>
)
}