Please, I don't know why this is not working. It's practically telling me that "checked" doesn't exist on the input element.
interface RadioProps extends HTMLAttributes<HTMLInputElement> {
size?: "xs" | "sm" | "md" | "lg";
}
const RadioInput = (props: RadioProps) => <Wrapper size={size}>
<input id={id} {...props} type="radio" />
<label htmlFor={props.id || id} size={size}></Label>
</Wrapper>
const App = () => <RadioInput checked={checked} />
// Error: Property 'checked' does not exist on type 'IntrinsicAttributes & RadioProps'