This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useState, useRef } from 'react'; | |
import { Text, TextInput, View, NativeSyntheticEvent, TextInputKeyPressEventData, TextInputSelectionChangeEventData } from 'react-native'; | |
import COLORS from '../styles/Colors'; | |
import Styles from '../styles/Styles'; | |
import PhoneNumberUtils from '../utils/PhoneNumberUtils'; | |
const PhoneNumberEntryComponent = | |
({ | |
phoneNumber, | |
setPhoneNumber, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<script src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<body style="margin:0"> | |
<p>This examples shows bug in ticks positioning if using step method for animation.</br> | |
Click timeline to animate. On animation end ticks are incorrectly positioned.</p> | |
<div id="timeline"></div> | |
<script> | |
var w = $('#timeline').width(), |