diff options
Diffstat (limited to 'packages/typescript-typings')
-rw-r--r-- | packages/typescript-typings/types/react-joyride/index.d.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/typescript-typings/types/react-joyride/index.d.ts b/packages/typescript-typings/types/react-joyride/index.d.ts index a0cd6a1e8..3aa5852f7 100644 --- a/packages/typescript-typings/types/react-joyride/index.d.ts +++ b/packages/typescript-typings/types/react-joyride/index.d.ts @@ -29,6 +29,10 @@ declare module 'react-joyride' { [prop: string]: any; } + interface StyleOptionsProp { + options: StyleOptions; + } + export interface Props { steps?: Step[]; beaconComponent?: React.ReactNode; @@ -37,7 +41,7 @@ declare module 'react-joyride' { stepIndex?: number; callback?: (options: any) => void; debug?: boolean; - styles?: { options: StyleOptions }; + styles?: StyleOptionsProp; } export interface State { |