aboutsummaryrefslogtreecommitdiffstats
path: root/packages/typescript-typings/types/react-popper/index.d.ts
diff options
context:
space:
mode:
authorHsuan Lee <hsuan@cobinhood.com>2019-01-19 18:42:04 +0800
committerHsuan Lee <hsuan@cobinhood.com>2019-01-19 18:42:04 +0800
commit7ae38906926dc09bc10670c361af0d2bf0050426 (patch)
tree5fb10ae366b987db09e4ddb4bc3ba0f75404ad08 /packages/typescript-typings/types/react-popper/index.d.ts
parentb5fd3c72a08aaa6957917d74c333387a16edf66b (diff)
downloaddexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar
dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar.gz
dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar.bz2
dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar.lz
dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar.xz
dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.tar.zst
dexon-sol-tools-7ae38906926dc09bc10670c361af0d2bf0050426.zip
Update dependency packages
Diffstat (limited to 'packages/typescript-typings/types/react-popper/index.d.ts')
-rw-r--r--packages/typescript-typings/types/react-popper/index.d.ts49
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, {}> {}
-}