Skip to content

Commit

Permalink
Update Readme with button callback props documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmbake committed May 3, 2023
1 parent 9a9dedd commit bd91fb2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ const TerminalController = (props = {}) => {
| startingInputValue | Starting input value. If this prop changes, any user-entered input will be overridden by this value. Defaults to the empty string (""). |
| prompt | The prompt character. Defaults to '$'. |
| height | Height of the terminal. Defaults to 600px. |
| redBtnCallback | Optional callback function for the red button. If provided, the function will be invoked when the red button is clicked. |
| yellowBtnCallback | Optional callback function for the yellow button. If provided, the function will be invoked when the yellow button is clicked. |
| greenBtnCallback | Optional callback function for the green button. If provided, the function will be invoked when the green button is clicked. |

### Development

Expand Down

0 comments on commit bd91fb2

Please sign in to comment.