Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Add optional children prop on ShepherdProps typescript index
Browse files Browse the repository at this point in the history
  • Loading branch information
monshan committed Jul 5, 2022
1 parent 2fad929 commit afa2ce4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/lib/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface ShepherdOptionsWithType extends Step.StepOptions {
interface ShepherdProps {
steps: Array<ShepherdOptionsWithType>;
tourOptions: Tour.TourOptions;
children?: React.ReactNode;
}

const ShepherdTourContext = React.createContext<Tour | null>(null);
Expand Down

0 comments on commit afa2ce4

Please sign in to comment.