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

0.4.4 • Public • Published

Installation

npm install --save @types/react-offcanvas

Summary

This package contains type definitions for react-offcanvas (https://github.com/vutran/react-offcanvas#readme).

Details

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

index.d.ts

import * as React from "react";

export interface OffCanvasProps {
    width?: number | undefined;
    transitionDuration?: number | undefined;
    isMenuOpened?: boolean | undefined;
    position?: "left" | "right" | undefined;
    effect?: "push" | "overlay" | "parallax" | undefined;
    children: React.ReactNode;
}

export class OffCanvas extends React.Component<OffCanvasProps> {}

export interface OffCanvasBodyProps {
    width?: number | undefined;
    transitionDuration?: number | undefined;
    isMenuOpened?: boolean | undefined;
    position?: "left" | "right" | undefined;
    className?: string | undefined;
    style?: React.CSSProperties | undefined;
    children: React.ReactNode;
}

export class OffCanvasBody extends React.Component<OffCanvasBodyProps> {}

export interface OffCanvasMenuProps {
    width?: number | undefined;
    transitionDuration?: number | undefined;
    isMenuOpened?: boolean | undefined;
    position?: "left" | "right" | undefined;
    className?: string | undefined;
    style?: React.CSSProperties | undefined;
    children: React.ReactNode;
}

export class OffCanvasMenu extends React.Component<OffCanvasMenuProps> {}

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Alex Bukurov.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-offcanvas

Weekly Downloads

24

Version

0.4.4

License

MIT

Unpacked Size

5.01 kB

Total Files

5

Last publish

Collaborators

  • types