Open source Android date and time pickers

Reviewed By: bestander

Differential Revision: D2856486

fb-gh-sync-id: 0bb81136289e2f121387649765ba682103e4701b
This commit is contained in:
Martin Konicek
2016-01-26 10:29:47 -08:00
committed by facebook-github-bot-8
parent 5f0ef12cb5
commit 9a0539d2c4
29 changed files with 1275 additions and 41 deletions

View File

@@ -26,10 +26,10 @@ module.exports = {
*/
getString() {
if (arguments.length > 0) {
let callback = arguments[0];
console.warn('Clipboard.getString(callback) is deprecated. Use the returned Promise instead');
Clipboard.getString().then(callback);
return;
let callback = arguments[0];
console.warn('Clipboard.getString(callback) is deprecated. Use the returned Promise instead');
Clipboard.getString().then(callback);
return;
}
return Clipboard.getString();
},
@@ -40,7 +40,7 @@ module.exports = {
* Clipboard.setString('hello world');
* }
* ```
* @param this parameter is content that will be set into clipboard.
* @param the content to be stored in the clipboard.
*/
setString(content) {
Clipboard.setString(content);