Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b434ae0

Browse files
mikearmstrong001facebook-github-bot-8
authored and
facebook-github-bot-8
committed
Better text descriptions for examples
Reviewed By: @mkonicek Differential Revision: D2443908
1 parent ffe2048 commit b434ae0

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

Examples/UIExplorer/BorderExample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ var styles = StyleSheet.create({
9494
});
9595

9696
exports.title = 'Border';
97-
exports.description = 'View borders';
97+
exports.description = 'Demonstrates some of the border styles available to Views.';
9898
exports.examples = [
9999
{
100100
title: 'Equal-Width / Same-Color',

Examples/UIExplorer/LayoutEventsExample.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ var styles = StyleSheet.create({
141141
});
142142

143143
exports.title = 'Layout Events';
144-
exports.description = 'Layout events can be used to measure view size and position.';
144+
exports.description = 'Examples that show how Layout events can be used to ' +
145+
'measure view size and position.';
145146
exports.examples = [
146147
{
147148
title: 'LayoutEventExample',

Examples/UIExplorer/PanResponderExample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var PanResponderExample = React.createClass({
3131

3232
statics: {
3333
title: 'PanResponder Sample',
34-
description: 'Basic gesture handling example',
34+
description: 'Shows the use of PanResponder to provide basic gesture handling.',
3535
},
3636

3737
_panResponder: {},

Examples/UIExplorer/PointerEventsExample.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,6 @@ var styles = StyleSheet.create({
250250

251251
exports.framework = 'React';
252252
exports.title = 'Pointer Events';
253-
exports.description = '`pointerEvents` is a prop of View that gives control ' +
254-
'of how touches should be handled.';
253+
exports.description = 'Demonstrates the use of the pointerEvents prop of a ' +
254+
'View to control how touches should be handled.';
255255
exports.examples = exampleClasses.map(infoToExample);

Examples/UIExplorer/TouchableExample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var {
2727
} = React;
2828

2929
exports.displayName = (undefined: ?string);
30-
exports.description = 'Touchable and onPress examples';
30+
exports.description = 'Touchable and onPress examples.';
3131
exports.title = '<Touchable*> and onPress';
3232
exports.examples = [
3333
{

Examples/UIExplorer/ViewExample.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ var ViewBorderStyleExample = React.createClass({
8585
});
8686

8787
exports.title = '<View>';
88-
exports.description = 'Basic building block of all UI.';
88+
exports.description = 'Basic building block of all UI, examples that ' +
89+
'demonstrate some of the many styles available.';
90+
8991
exports.displayName = 'ViewExample';
9092
exports.examples = [
9193
{

0 commit comments

Comments
 (0)