@types/react-relative-portal
TypeScript icon, indicating that this package has built-in type declarations

1.8.4 • Public • Published

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

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: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Andy Katz.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-relative-portal

Weekly Downloads

890

Version

1.8.4

License

MIT

Unpacked Size

3.72 kB

Total Files

5

Last publish

Collaborators

  • types