import React from "react"; import DatePicker from "react-datepicker"; export default function FormInputDate({ selected, onChange, label = '', error }) { return (
{label !== '' && ( )} {error && (

{error}

)}
) }