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:
Oleksandr Melnykov
2020-01-14 03:53:57 -08:00
committed by Facebook Github Bot
parent 461d68e656
commit 1e6e37a3a8
2 changed files with 25 additions and 17 deletions
@@ -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',