1.2.5 • Published 6 years ago

react-draw-componnet v1.2.5

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

react-draw-componnet

A draw component for react.

install:

npm i react-draw-componnet

Usage

...
import Draw from 'react-draw-componnet';
...
render() {
  return (
    <Draw
        open={this.state.drawer}
        handler_close={() => this.setState({ drawer: !this.state.drawer})}
        backdrop_close
        right
    >
      Drawer  Content
    </Draw>
  );
}

API Reference

  • Properties:
    • open - boolean representing the status.
      • Optional
      • Type: boolean
      • Example: "true", "false"
    • handler_close - close callback function.
      • Optional
      • Type: function
1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 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.1

6 years ago

1.0.0

6 years ago