Skip to content

Commit b951927

Browse files
author
Anupriy R
committed
Update doc for the additional feature
1 parent 3e2e12f commit b951927

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ Every `CopilotStep` must have these props:
7676
1. **name**: A unique name for the walkthrough step.
7777
2. **order**: A positive number indicating the order of the step in the entire walkthrough.
7878
3. **text**: The text shown as the description for the step.
79+
4. **imageSource(optional)**: Image to be shown on the tooltip of walkthrough step.
80+
5. **extraComponent(optional)**: Any other custom React component or React element to be shown in the tooltip of walkthrough step.
7981

8082
In order to start the tutorial, you can call the `start` prop function in the root component that is injected by `copilot`:
8183

0 commit comments

Comments
 (0)