Button
A basic button component that should render nicely on any platform. Supports a minimal level of customization.
-
If this button doesn't look right for your app, you can build your own button using TouchableOpacity or TouchableNativeFeedback. For inspiration, look at the source code for this button component. Or, take a look at the wide variety of button components built by the community.
-Example usage:
-import { Button } from 'react-native';
-...
+Example
+
Reference
Props
onPress
diff --git a/docs/button/index.html b/docs/button/index.html
index 8aa1f754a93..1a6e0ab2273 100644
--- a/docs/button/index.html
+++ b/docs/button/index.html
@@ -71,20 +71,115 @@
}
});
Button
A basic button component that should render nicely on any platform. Supports a minimal level of customization.
-
If this button doesn't look right for your app, you can build your own button using TouchableOpacity or TouchableNativeFeedback. For inspiration, look at the source code for this button component. Or, take a look at the wide variety of button components built by the community.
-Example usage:
-import { Button } from 'react-native';
-...
+Example
+
Reference
Props
onPress
diff --git a/docs/next/button.html b/docs/next/button.html
index b6f42ec4794..81ca16d4945 100644
--- a/docs/next/button.html
+++ b/docs/next/button.html
@@ -71,20 +71,115 @@
}
});
Button
A basic button component that should render nicely on any platform. Supports a minimal level of customization.
-
If this button doesn't look right for your app, you can build your own button using TouchableOpacity or TouchableNativeFeedback. For inspiration, look at the source code for this button component. Or, take a look at the wide variety of button components built by the community.
-Example usage:
-import { Button } from 'react-native';
-...
+Example
+
Reference
Props
onPress
diff --git a/docs/next/button/index.html b/docs/next/button/index.html
index b6f42ec4794..81ca16d4945 100644
--- a/docs/next/button/index.html
+++ b/docs/next/button/index.html
@@ -71,20 +71,115 @@
}
});
Button
A basic button component that should render nicely on any platform. Supports a minimal level of customization.
-
If this button doesn't look right for your app, you can build your own button using TouchableOpacity or TouchableNativeFeedback. For inspiration, look at the source code for this button component. Or, take a look at the wide variety of button components built by the community.
-Example usage:
-import { Button } from 'react-native';
-...
+Example
+
Reference
Props
onPress