mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 12:25:59 +08:00
Swipeables documentation
Summary: So users can know how to use Reviewed By: hedgerwang Differential Revision: D3399028 fbshipit-source-id: 5ce97c5464f1975145aba1bcf4b79550394859ae
This commit is contained in:
committed by
Facebook Github Bot 9
parent
837aafde72
commit
381a0051c7
@@ -29,6 +29,16 @@ const View = require('View');
|
||||
|
||||
const MAX_QUICK_ACTIONS = 2;
|
||||
|
||||
/**
|
||||
* A thin wrapper around standard quick action buttons that can, if the user
|
||||
* chooses, be used with SwipeableListView. Sample usage is as follows, in the
|
||||
* renderQuickActions callback:
|
||||
*
|
||||
* <SwipeableQuickActions>
|
||||
* <SwipeableQuickActionButton {..props} />
|
||||
* <SwipeableQuickActionButton {..props} />
|
||||
* </SwipeableQuickActions>
|
||||
*/
|
||||
const SwipeableQuickActions = React.createClass({
|
||||
propTypes: {
|
||||
style: View.propTypes.style,
|
||||
|
||||
Reference in New Issue
Block a user