0.4.4 • Published 6 months ago
@types/react-offcanvas v0.4.4
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
// Type definitions for react-offcanvas 0.4
// Project: https://github.com/vutran/react-offcanvas#readme
// Definitions by: Alex Bukurov <https://github.com/abukurov>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
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: Thu, 08 Jul 2021 22:41:23 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Alex Bukurov.