mirror of
https://github.com/idanoo/GoScrobble
synced 2025-07-20 14:57:13 +00:00
0.2.0 - Mid migration
This commit is contained in:
parent
139e6a915e
commit
7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions
45
web/node_modules/react-popper/typings/react-popper.d.ts
generated
vendored
Normal file
45
web/node_modules/react-popper/typings/react-popper.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,45 @@
|
|||
import * as React from "react";
|
||||
import * as PopperJS from "popper.js";
|
||||
|
||||
interface ManagerProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
export class Manager extends React.Component<ManagerProps, {}> { }
|
||||
|
||||
interface ReferenceChildrenProps {
|
||||
// React refs are supposed to be contravariant (allows a more general type to be passed rather than a more specific one)
|
||||
// However, Typescript currently can't infer that fact for refs
|
||||
// See https://github.com/microsoft/TypeScript/issues/30748 for more information
|
||||
ref: React.Ref<any>;
|
||||
}
|
||||
|
||||
interface ReferenceProps {
|
||||
children: (props: ReferenceChildrenProps) => React.ReactNode;
|
||||
innerRef?: React.Ref<any>;
|
||||
}
|
||||
export class Reference extends React.Component<ReferenceProps, {}> { }
|
||||
|
||||
export interface PopperArrowProps {
|
||||
ref: React.Ref<any>;
|
||||
style: React.CSSProperties;
|
||||
}
|
||||
|
||||
export interface PopperChildrenProps {
|
||||
arrowProps: PopperArrowProps;
|
||||
outOfBoundaries: boolean | null;
|
||||
placement: PopperJS.Placement;
|
||||
ref: React.Ref<any>;
|
||||
scheduleUpdate: () => void;
|
||||
style: React.CSSProperties;
|
||||
}
|
||||
|
||||
export interface PopperProps {
|
||||
children: (props: PopperChildrenProps) => React.ReactNode;
|
||||
eventsEnabled?: boolean;
|
||||
innerRef?: React.Ref<any>;
|
||||
modifiers?: PopperJS.Modifiers;
|
||||
placement?: PopperJS.Placement;
|
||||
positionFixed?: boolean;
|
||||
referenceElement?: PopperJS.ReferenceObject;
|
||||
}
|
||||
export class Popper extends React.Component<PopperProps, {}> { }
|
Loading…
Add table
Add a link
Reference in a new issue