Skip to content

Commit

Permalink
docs: remove superflous "be" in readme (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhg authored Apr 11, 2024
1 parent e4ca0b7 commit 3706fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const YourComponent = (props) => {

### `marks`

Object of React components that renders different types of marks that might appear in spans. Marks can be either be simple "decorators" (eg emphasis, underline, italic) or full "annotations" which include associated data (eg links, references, descriptions).
Object of React components that renders different types of marks that might appear in spans. Marks can either be simple "decorators" (eg emphasis, underline, italic) or full "annotations" which include associated data (eg links, references, descriptions).

If the mark is a decorator, the component will receive a `markType` prop which has the name of the decorator (eg `em`). If the mark is an annotation, it will receive both a `markType` with the associated `_type` property (eg `link`), and a `value` property with an object holding the data for this mark.

Expand Down

0 comments on commit 3706fc1

Please sign in to comment.