My component:
interface Props {
label: string;
}
const FormDate: React.FC<Props> = ({ label, ...props }) => {
This is how I use that component:
<FormDate label="Data" name="date" type="date" />
How can i describe ...props in Typescript if I don't want to destruct "name" and "type" separately as I did with "label"?