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 63
63
attributes :
64
64
label : Reproducible example repository
65
65
description : Please provide a link to a repository on GitHub with a reproducible example.
66
- render : js
67
66
validations :
68
67
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
1
2
blank_issues_enabled : false
2
3
contact_links :
3
4
- 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' ;
3
3
import { DEFAULT_DARK_COLOR } from '../constants' ;
4
4
import { useTextInputOTP } from '../hooks/use-text-input-otp' ;
5
5
6
6
export function Caret ( ) {
7
- const opacity = useAnimatedValue ( 0 ) ;
7
+ const opacity = useRef ( new Animated . Value ( 0 ) ) . current ;
8
8
const { caretColor } = useTextInputOTP ( ) ;
9
9
10
10
useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments