Skip to content

Commit 739b9e4

Browse files
authored
Update readme.md
1 parent f798ad2 commit 739b9e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ will display a dropdown when you click them.
154154
If the passing value is a React element, it will print the react element.
155155
- **subCommands**: A list of commands that will dropdown when you click the button.
156156

157-
**subCommands** is an array of objects with these props:
157+
**subCommands** is an array of objects with the following props:
158158

159159
- **content**: A React component that will be displayed within the `li`.
160160
- **execute**: The function that will actually execute the command. This function accepts 2 parameters: `text`, which is the whole textarea text before your command, and `selection`, a 2 items array containing the beggining and end of the current selection.

0 commit comments

Comments
 (0)