Сбить типизацию Flashcards
1
Q
Сбиваем тип
A
const [error, setError] = useState<string | null> (null)
<TextField
error={!!error}
/>
React > Сбить типизацию > Flashcards
Сбиваем тип
const [error, setError] = useState<string | null> (null)
<TextField
error={!!error}
/>