axa-ch-webhub-cloud / pattern-library

AXA CH UI component library. Please share, comment, create issues and work with us!
https://axa-ch-webhub-cloud.github.io/plib-feature/develop
125 stars 18 forks source link

Property name is missing in AXADatepickerProps #2383

Closed domirs closed 1 year ago

domirs commented 1 year ago

Hi, when using react with typescript there is a type issue when defining the name property of the datepicker.

Expected Behavior

name property can be used with react + typescript

Current Behavior

Currently there is a type issue when using the name property of the datepicker component:

  Property 'name' does not exist on type 'IntrinsicAttributes & AXADatepickerProps & { children?: ReactNode; }'.ts(2322)

Steps to Reproduce

  1. create typescript react project
  2. insert datepicker with property inputfield and name

Thanks and regards, Dominik