File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6363 attributes :
6464 label : Reproducible example repository
6565 description : Please provide a link to a repository on GitHub with a reproducible example.
66- render : js
6766 validations :
6867 required : true
Original file line number Diff line number Diff line change 1+ # yaml-language-server: $schema=https://json.schemastore.org/github-issue-config.json
12blank_issues_enabled : false
23contact_links :
34 - name : Feature Request 💡
Original file line number Diff line number Diff line change 1- import { useEffect } from 'react' ;
2- import { StyleSheet , Animated , useAnimatedValue } from 'react-native' ;
1+ import { useEffect , useRef } from 'react' ;
2+ import { StyleSheet , Animated } from 'react-native' ;
33import { DEFAULT_DARK_COLOR } from '../constants' ;
44import { useTextInputOTP } from '../hooks/use-text-input-otp' ;
55
66export function Caret ( ) {
7- const opacity = useAnimatedValue ( 0 ) ;
7+ const opacity = useRef ( new Animated . Value ( 0 ) ) . current ;
88 const { caretColor } = useTextInputOTP ( ) ;
99
1010 useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments