Skip to content

Commit

Permalink
[ReactNative] Small docs cleanup in ActivityIndicatorIOS and DatePick…
Browse files Browse the repository at this point in the history
…erIOS

Summary:
Summary:
Makes sure that it looks good in the website

Closes facebook#160
Github Author: Christopher Chedeau <[email protected]>

Test Plan:
Run the website

CC:

Task ID: #
  • Loading branch information
vjeux authored and oss sync committed Apr 12, 2015
1 parent d689cb7 commit 5df941c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ var ActivityIndicatorIOS = React.createClass({
*/
color: PropTypes.string,

/**
* Size of the indicator. Small has a height of 20, large has a height of 36.
*/
size: PropTypes.oneOf([
'small', // default
'small',
'large',
]),
},
Expand Down
6 changes: 2 additions & 4 deletions Libraries/Components/DatePicker/DatePickerIOS.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,16 @@ var DatePickerIOS = React.createClass({

/**
* The date picker mode.
*
* Valid modes on iOS are: 'date', 'time', 'datetime'.
*/
mode: PropTypes.oneOf(Object.keys(RCTDatePickerIOSConsts.DatePickerModes)),
mode: PropTypes.oneOf(['date', 'time', 'datetime']),

/**
* The interval at which minutes can be selected.
*/
minuteInterval: PropTypes.oneOf([1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30]),

/**
* Timezone offset in seconds.
* Timezone offset in minutes.
*
* By default, the date picker will use the device's timezone. With this
* parameter, it is possible to force a certain timezone offset. For
Expand Down

0 comments on commit 5df941c

Please sign in to comment.