We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
inputRef
CodeInputProps
1 parent 77273d0 commit 5654881Copy full SHA for 5654881
packages/rci/src/components/CodeInput.tsx
@@ -4,7 +4,7 @@ import type { RenderSegmentFn } from '../types/RenderSegmentFn'
4
import * as RCI from './RCI'
5
6
export type CodeInputProps = RCI.InputProps & {
7
- inputRef: React.RefObject<HTMLInputElement>
+ inputRef: React.RefObject<HTMLInputElement | null>
8
renderSegment: RenderSegmentFn
9
10
length?: number
0 commit comments