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

This commit is contained in:
Christian Andolf
2024-10-28 17:18:40 +01:00
parent 6c56fbc313
commit 20efae18f6

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 (