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

Add children field for React 18 #637

Merged
merged 3 commits into from
Jul 5, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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?: ReactNode
RobbieTheWagner marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
children?: ReactNode
children?: ReactNode
Suggested change
children?: ReactNode
children?: ReactNode;

}

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