diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-22 22:22:19 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-22 22:22:19 +0800 |
commit | 74483631d09395de248fe97034c059a2a8bb2097 (patch) | |
tree | c736e737235c52d408abb52f394f20ff08c99829 /packages/typescript-typings/types/react-popper/index.d.ts | |
parent | 89b24a21a0833038aa7f79d938502fed84cdb1b0 (diff) | |
download | dexon-sol-tools-74483631d09395de248fe97034c059a2a8bb2097.tar dexon-sol-tools-74483631d09395de248fe97034c059a2a8bb2097.tar.gz dexon-sol-tools-74483631d09395de248fe97034c059a2a8bb2097.tar.bz2 dexon-sol-tools-74483631d09395de248fe97034c059a2a8bb2097.tar.lz dexon-sol-tools-74483631d09395de248fe97034c059a2a8bb2097.tar.xz dexon-sol-tools-74483631d09395de248fe97034c059a2a8bb2097.tar.zst dexon-sol-tools-74483631d09395de248fe97034c059a2a8bb2097.zip |
Move frontend package types out of typescript-typings since this package will be used in both node and browser contexts
Diffstat (limited to 'packages/typescript-typings/types/react-popper/index.d.ts')
-rw-r--r-- | packages/typescript-typings/types/react-popper/index.d.ts | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/packages/typescript-typings/types/react-popper/index.d.ts b/packages/typescript-typings/types/react-popper/index.d.ts deleted file mode 100644 index d7dbca17f..000000000 --- a/packages/typescript-typings/types/react-popper/index.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Type definitions for react-popper 1.0.0-beta.6 -// Project: https://github.com/gilbarbara/react-joyride - -declare module 'react-popper' { - import * as React from 'react'; - import * as PopperJS from 'popper.js'; - - interface ManagerProps { - children: React.ReactNode; - } - export class Manager extends React.Component<ManagerProps, {}> {} - - type RefHandler = (ref: HTMLElement | null) => void; - - export interface ReferenceChildrenProps { - ref: RefHandler; - } - - export interface ReferenceProps { - children: (props: ReferenceChildrenProps) => React.ReactNode; - } - export class Reference extends React.Component<ReferenceProps, {}> {} - - export interface PopperArrowProps { - ref: RefHandler; - style: React.CSSProperties; - } - - export type Placement = PopperJS.Placement; - - export interface PopperChildrenProps { - arrowProps: PopperArrowProps; - outOfBoundaries: boolean | null; - placement: PopperJS.Placement; - ref: RefHandler; - scheduleUpdate: () => void; - style: React.CSSProperties; - } - - export interface PopperProps { - children: (props: PopperChildrenProps) => React.ReactNode; - eventsEnabled?: boolean; - modifiers?: PopperJS.Modifiers; - placement?: PopperJS.Placement; - positionFixed?: boolean; - referenceElement?: Element; - } - export class Popper extends React.Component<PopperProps, {}> {} -} |