mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Use commands instead of setNativeProps for AndroidSwipeRefreshLayout
Summary: As a part of the migration from setNativeProps in Fabric and Paper, we are replacing it by view commands in the RefreshControl component on Android. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D18475450 fbshipit-source-id: ad89547fada3444f725fd9b00e8482cfc8f4d7fc
This commit is contained in:
committed by
Facebook Github Bot
parent
461d68e656
commit
1e6e37a3a8
@@ -116,6 +116,7 @@ class RefreshControlExample extends React.Component {
|
||||
|
||||
exports.title = '<RefreshControl>';
|
||||
exports.description = 'Adds pull-to-refresh support to a scrollview.';
|
||||
exports.simpleExampleContainer = true;
|
||||
exports.examples = [
|
||||
{
|
||||
title: 'Simple refresh',
|
||||
|
||||
Reference in New Issue
Block a user