Naughty Program Manipulator

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

    0.4.2 • Public • Published

    Installation

    npm install --save @types/rmc-drawer

    Summary

    This package contains type definitions for rmc-drawer (https://github.com/react-component/m-drawer).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rmc-drawer.

    index.d.ts

    // Type definitions for rmc-drawer 0.4
    // Project: https://github.com/react-component/m-drawer
    // Definitions by: Frithjof Winkelmann <https://github.com/Hoff97>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // TypeScript Version: 2.8
    
    import * as moment from "moment";
    import * as React from 'react';
    
    interface DrawerProps {
        className?: string | undefined;
        prefixCls?: string | undefined;
        children?: React.ReactNode | React.ReactNode[] | undefined;
        style?: React.CSSProperties | undefined;
        sidebarStyle?: React.CSSProperties | undefined;
        contentStyle?: React.CSSProperties | undefined;
        overlayStyle?: React.CSSProperties | undefined;
        dragHandleStyle?: React.CSSProperties | undefined;
        sidebar?: React.ReactNode | undefined;
        onOpenChange?: ((open: boolean, overlay?: { overlayClicked: boolean }) => void) | undefined;
        open?: boolean | undefined;
        position?: 'left' | 'right' | 'top' | 'bottom' | undefined;
        docked?: boolean | undefined;
        transitions?: boolean | undefined;
        touch?: boolean | undefined;
        enableDragHandle?: boolean | undefined;
        dragToggleDistance?: number | undefined;
    }
    
    declare class Drawer extends React.Component<Partial<DrawerProps>> {
    }
    
    export = Drawer;

    Additional Details

    Credits

    These definitions were written by Frithjof Winkelmann.

    Keywords

    none

    Install

    npm i @types/rmc-drawer

    DownloadsWeekly Downloads

    21

    Version

    0.4.2

    License

    MIT

    Unpacked Size

    5.28 kB

    Total Files

    4

    Last publish

    Collaborators

    • types