mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
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:
committed by
Pranav Senthilnathan
parent
8e16ab20ef
commit
3fa3008b88
Vendored
+1
-1
@@ -197,7 +197,7 @@ export interface ReactourProps {
|
||||
* Show/Hide _Helper_ Navigation buttons
|
||||
* @default true
|
||||
*/
|
||||
showButton?: boolean;
|
||||
showButtons?: boolean;
|
||||
|
||||
/**
|
||||
* Show/Hide _Helper_ Close button
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user