OptionsTile: size marked as mandatory but also optional #5702
Labels
area: typescript
component: OptionsTile
role: dev
Sev 3
Visible or noticeable to users but does not impede functionality. Has a workaround.
type: bug 🐛
Something isn't working
Package
Carbon for IBM Products
Description
For OptionsTile, the Typescript declaration says that specifying size is mandatory:
However, the PropTypes and also the code says that it's optional:
Presumably the Typescript declaration needs to be updated to mark it as optional.
See also related ticket #4576.
Component(s) impacted
OptionsTile
Browser
Chrome
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.45.0
Suggested Severity
None
Product/offering
IKC
CodeSandbox or Stackblitz example
https://carbon-for-ibm-products.netlify.app/?path=/docs/ibm-products-components-options-tile-optionstile--docs
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: