2.0.2 • Published 6 years ago

@materialr/drawer v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

MaterialR Drawer

@materialr/drawer

Build Status Coverage Status NSP Status semantic-release

Material drawer implementation for React

Installation

$ npm install --save @materialr/drawer

Demo

A full demo is available on the MaterialR website showcasing all variants.

Components

Named exports

import { PermanentDrawer } from '@materialr/drawer';

Props

PropTypeRequiredDefaultDescription
childrennodeYesN/AThe child elements to render
classNamestringNoundefinedAdditional classNames to add
import { PersistentDrawer } from '@materialr/drawer';

Props

PropTypeRequiredDefaultDescription
childrennodeYesN/AThe child elements to render
classNamestringNoundefinedAdditional classNames to add
onClosefuncNoundefinedAn event handler for when the drawer closes
onOpenfuncNoundefinedAn event handler for when the drawer opens
import { TemporaryDrawer } from '@materialr/drawer';

Props

PropTypeRequiredDefaultDescription
childrennodeYesN/AThe child elements to render
classNamestringNoundefinedAdditional classNames to add
onClosefuncNoundefinedAn event handler for when the drawer closes
onOpenfuncNoundefinedAn event handler for when the drawer opens
import { Header } from '@materialr/drawer';

Props

PropTypeRequiredDefaultDescription
childrennodeNoundefinedThe child elements to render
classNamestringNoundefinedAdditional classNames to add
import { ToolbarSpacer } from '@materialr/drawer';

Props

PropTypeRequiredDefaultDescription
childrennodeNoundefinedThe child elements to render
classNamestringNoundefinedAdditional classNames to add
2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago