Open mrsrhn opened 3 years ago
Property disabledDay doesn't work in Calendar Component. I get the Error
"Property 'disabledDay' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'."
<Calendar date={myDate} disabledDay={(d:Date) => { return true; }} />
It should work :D Actually it works in JS, but not in Typescript.
Package Version: 1.1.3 React version: 16.13.1 Node version: 12.16.0
Subject of the issue
Property disabledDay doesn't work in Calendar Component. I get the Error
"Property 'disabledDay' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes & Readonly & Readonly<...>'."
[BUG] Bug Reproduce Steps
[BUG] Expected behaviour
It should work :D Actually it works in JS, but not in Typescript.
Environment
Package Version: 1.1.3 React version: 16.13.1 Node version: 12.16.0