Merged in fix/remove-faulty-attributes-svg (pull request #783)

fix: remove props that could be set as invalid attributes on svg

Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
Christian Andolf
2024-10-29 10:17:22 +00:00

View File

@@ -69,7 +69,13 @@ export default function DatePickerDesktop({
weekStartsOn={1}
components={{
Chevron(props) {
return <ChevronLeftIcon {...props} height={20} width={20} />
return (
<ChevronLeftIcon
className={props.className}
height={20}
width={20}
/>
)
},
Footer(props) {
return (