Fix index.d.ts for *reactour* by correcting typo (#37438)

* Fixed the declaration file for the 'showButtons' prop, as it was previously 'showButton' and it couldn't be used effectively with Typescript

* fix-reactour-showButtons update test
This commit is contained in:
Pablo Gracia
2019-08-12 10:21:46 -07:00
committed by Pranav Senthilnathan
parent 8e16ab20ef
commit 3fa3008b88
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ export interface ReactourProps {
* Show/Hide _Helper_ Navigation buttons
* @default true
*/
showButton?: boolean;
showButtons?: boolean;
/**
* Show/Hide _Helper_ Close button
+1 -1
View File
@@ -131,7 +131,7 @@ class CustomTour extends React.Component<{}, { isTourOpen: boolean }> {
scrollDuration={100}
scrollOffset={1}
showNumber={false}
showButton={false}
showButtons={false}
showCloseButton={false}
showNavigation={false}
showNavigationNumber={false}