diff --git a/src/components/radio-group.tsx b/src/components/radio-group.tsx index bebf6a27..2ddf60ab 100644 --- a/src/components/radio-group.tsx +++ b/src/components/radio-group.tsx @@ -99,7 +99,7 @@ export const RadioGroup = ({ const checkedItem = useMemo(() => items.findIndex(item => item.checked), [items]) const [selected, setSelected] = useState(checkedItem) - const handleKeyDown = (event: any) => { + const handleKeyDown = (event: React.KeyboardEvent) => { if (event.code === 'ArrowRight' || event.code === 'ArrowDown') { event.preventDefault()