Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ advisable.
#### `getLineProps`

You need to add a `line` property (type: `Token[]`) to the object you're passing to
`getLineProps`; It's also advisable to add a `key`.
`getLineProps`.

This getter will return you props to spread onto your line elements (typically `<div>s`).

Expand All @@ -277,7 +277,7 @@ The `className` will always contain `.token-line`.
#### `getTokenProps`

You need to add a `token` property (type: `Token`) to the object you're passing to
`getTokenProps`; It's also advisable to add a `key`.
`getTokenProps`.

This getter will return you props to spread onto your token elements (typically `<span>s`).

Expand Down