1.0.9 • Published 5 years ago

@crpt/react-sidebar v1.0.9

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

react-sidebar

Travis npm package Coveralls

Avatar

It can display sidebar with children as content.

Usage

import Sidebar from "@crpt/react-sidebar";

...
onSidebarClose() {
    this.setState({ sidebarActive: false });
}
...
<Sidebar active={this.state.sidebarActive} onClose={this.onSidebarClose}>content</Sidebar>
...
PropNameDescriptionExample
theme: objectTheme object
active: BooleanSidebar activity. Is Required.<Sidebar active={true} .../>
onClose: FunctionCallback for change container state if blocker clicked. Is Required.<Sidebar onClose={onClose} .../>
1.0.9

5 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago