diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-05-23 06:18:22 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-05-25 01:52:11 +0800 |
commit | b4e1ce59f9d5500667228f4ab1a2c9c4ca087ca7 (patch) | |
tree | 951170665292c24f2bd3720ad21200185d7e2e54 /packages/typescript-typings/types/react-joyride/index.d.ts | |
parent | 7af77d3eb0a73a0bd27898f5d3842c7dc7afef77 (diff) | |
download | dexon-sol-tools-b4e1ce59f9d5500667228f4ab1a2c9c4ca087ca7.tar dexon-sol-tools-b4e1ce59f9d5500667228f4ab1a2c9c4ca087ca7.tar.gz dexon-sol-tools-b4e1ce59f9d5500667228f4ab1a2c9c4ca087ca7.tar.bz2 dexon-sol-tools-b4e1ce59f9d5500667228f4ab1a2c9c4ca087ca7.tar.lz dexon-sol-tools-b4e1ce59f9d5500667228f4ab1a2c9c4ca087ca7.tar.xz dexon-sol-tools-b4e1ce59f9d5500667228f4ab1a2c9c4ca087ca7.tar.zst dexon-sol-tools-b4e1ce59f9d5500667228f4ab1a2c9c4ca087ca7.zip |
Fix issue where modal can be out of sync with app state
Diffstat (limited to 'packages/typescript-typings/types/react-joyride/index.d.ts')
-rw-r--r-- | packages/typescript-typings/types/react-joyride/index.d.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/typescript-typings/types/react-joyride/index.d.ts b/packages/typescript-typings/types/react-joyride/index.d.ts index 21e46074f..a0cd6a1e8 100644 --- a/packages/typescript-typings/types/react-joyride/index.d.ts +++ b/packages/typescript-typings/types/react-joyride/index.d.ts @@ -14,11 +14,13 @@ declare module 'react-joyride' { zIndex?: number, } + export type Placement = "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right" | "right" | "left"; + export interface Step { title?: string; content: React.ReactNode; target: string; - placement?: "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right" | "right" | "left"; + placement?: Placement; type?: "click" | "hover"; isFixed?: boolean; allowClicksThruHole?: boolean; @@ -29,7 +31,8 @@ declare module 'react-joyride' { export interface Props { steps?: Step[]; - beaconComponent?: React.ComponentClass; + beaconComponent?: React.ReactNode; + disableOverlayClose?: boolean; run?: boolean; stepIndex?: number; callback?: (options: any) => void; |