Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
alessey committed Dec 20, 2024
1 parent 56c86fd commit a861451
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/internal/components/TextInput.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { useCallback } from 'react';
import type { ChangeEvent } from 'react';
import type { ChangeEvent, InputHTMLAttributes } from 'react';
import { useDebounce } from '../../core-react/internal/hooks/useDebounce';

type TextInputReact = {
'aria-label'?: string;
className: string;
delayMs: number;
disabled?: boolean;
inputMode?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
inputMode?: InputHTMLAttributes<HTMLInputElement>['inputMode']
onBlur?: () => void;
onChange: (s: string) => void;
placeholder: string;
Expand Down

0 comments on commit a861451

Please sign in to comment.