1.8.4 • Published 6 months ago

@types/react-relative-portal v1.8.4

Weekly downloads
251
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/react-relative-portal

Summary

This package contains type definitions for react-relative-portal (https://github.com/smartprogress/react-relative-portal#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-relative-portal.

index.d.ts

// Type definitions for react-relative-portal 1.8
// Project: https://github.com/smartprogress/react-relative-portal#readme
// Definitions by: Andy Katz <https://github.com/katz12>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as React from 'react';

declare class RelativePortal extends React.Component<RelativePortal.Props> {}

declare namespace RelativePortal {
    interface Props {
        children: React.ReactNode;
        className?: string | undefined;
        component: string;
        fullWidth?: boolean | undefined;
        left?: number | undefined;
        onOutClick?: (() => void) | undefined;
        right?: number | undefined;
        top?: number | undefined;
    }
}

export = RelativePortal;

Additional Details

  • Last updated: Thu, 08 Jul 2021 22:41:28 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Andy Katz.

1.8.4

6 months ago

1.8.3

7 months ago

1.8.2

8 months ago

1.8.1

3 years ago

1.8.0

4 years ago