I have been unable to add a calendar icon into the DayPickerInput
component.
I have tried
import {FaCalendar} from "react-icons/fa";
<DayPickerInput
component={props => <input icon={FaCalendar} {...props}/>}
/>
i get the following
Warning: Invalid value for prop `icon` on <input> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details
I have tried adding these as well
import { Input } from 'semantic-ui-react'
<DayPickerInput
component={props => <Input icon='calendar' {...props} /> }
/>
Then this happens
thanks for the help