corrected type information for react-joyride

This commit is contained in:
Burns
2018-06-05 13:49:54 -06:00
parent 97c122f22f
commit 40439f96e7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ export interface Props {
export interface Step {
title?: string;
text?: React.ReactNode;
selector: string;
target: string;
position?: "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right" | "right" | "left";
type?: "click" | "hover";
isFixed?: boolean;
+2 -2
View File
@@ -7,7 +7,7 @@ class NewComponent extends React.Component<undefined, undefined> {
steps: Step[] = [{
title: "Title",
text: "Hurray",
selector: ".selectable",
target: ".selectable",
position: "top-right",
type: "click",
style: {
@@ -37,7 +37,7 @@ class NewComponent extends React.Component<undefined, undefined> {
parent: "MyParent"
},
{
selector: ".other-selectable",
target: ".other-selectable",
text: (<div>Also works</div>)
}];