We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f52167e + 8b49a1b commit e35950eCopy full SHA for e35950e
README.md
@@ -264,7 +264,7 @@ advisable.
264
#### `getLineProps`
265
266
You need to add a `line` property (type: `Token[]`) to the object you're passing to
267
-`getLineProps`; It's also advisable to add a `key`.
+`getLineProps`.
268
269
This getter will return you props to spread onto your line elements (typically `<div>s`).
270
@@ -277,7 +277,7 @@ The `className` will always contain `.token-line`.
277
#### `getTokenProps`
278
279
You need to add a `token` property (type: `Token`) to the object you're passing to
280
-`getTokenProps`; It's also advisable to add a `key`.
+`getTokenProps`.
281
282
This getter will return you props to spread onto your token elements (typically `<span>s`).
283
0 commit comments