eBay / ebayui-core-react

eBayUI React components
https://opensource.ebay.com/ebayui-core-react/main/
MIT License
38 stars 32 forks source link

EbayButton Typescript issue #332

Open aaron-nance opened 9 months ago

aaron-nance commented 9 months ago

When compiling my application with EbayButton using React 18 and TypeScript 4.4.4 I'm getting the following error:

error TS2741: Property 'placeholder' is missing in type '{ children: (string | Element | undefined)[]; disabled: boolean | undefined; className: string | undefined; priority: Priority; size: "large" | "default" | undefined; ... 4 more ...; type: "button" | undefined; }' but required in type 'Pick<Props, "split" | "id" | "disabled" | "className" | "children" | "variant" | "priority" | "size" | "fluid" | "tabIndex" | "onClick" | "type" | "name" | "form" | "slot" | ... 271 more ... | "referrerPolicy">'.

37 <EbayButton