1.0.4 • Published 8 years ago

rn-halfcard v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

rn-halfcard

Halfcard for React Native. A flexible Halfcard component for React native with callbacks and adjustable slide duration!

Demo

rn-halfcard Demo

Usage

  <HalfCard
    ref={component => this.my_halfcard = component}
    slideDuration={500}
    onShow={this.onShow}
    onClose={this.onCloseModalOne}>
      {this.myHalfcardContent()}
  </HalfCard>
}

Any valid React Native View can be passed as content of the halfcard. To open the halfcard call this.my_halfcard.show() method and to close call this.my_halfcard.close() method.

Installation

  • npm install --save rn-halfcard

License

MIT

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago