Skip to content

Instantly share code, notes, and snippets.

@mdvacca
mdvacca / Text.js
Last active February 28, 2020 10:53
Custom ReactNative Text component that handles lineHeight correctly in Android.
/**
* Custom Text that handles lineHeight correctly in Android
* @flow
*/
'use strict';
import React from 'react';
import RN, { StyleSheet, Dimensions, Platform } from 'react-native';
type Props = any;
2015-01-22 23:56:56:711 - info: Welcome to Appium v1.3.4 (REV c8c79a85fbd6870cd6fc3d66d038a115ebe22efe)
2015-01-22 23:56:56:714 - info: Appium REST http interface listener started on 0.0.0.0:4723
2015-01-22 23:56:56:717 - info: [debug] Non-default server args: {"sessionOverride":true,"fullReset":true,"log":"/tmp/appium.log","platformName":"Android","platformVersion":"4.4","automationName":"Appium","defaultCommandTimeout":7200}
2015-01-22 23:56:56:717 - info: Console LogLevel: debug
2015-01-22 23:56:56:717 - info: File LogLevel: debug
2015-01-22 23:56:57:287 - info: --> GET /wd/hub/status {}
2015-01-22 23:56:57:289 - info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.4","revision":"c8c79a85fbd6870cd6fc3d66d038a115ebe22efe"}}}
2015-01-22 23:56:57:293 - info: <-- GET /wd/hub/status 200 5.758 ms - 104 {"status":0,"value":{"build":{"version":"1.3.4","revision":"c8c79a85fbd6870cd6fc3d66d038a115ebe22efe"}}}
2015-01-22 23:57:08:296 - info: --> GET /wd/hub/status {}
2015-01-2