Can props.closeIconDescription on Tearsheet be made optional in accordance to core Carbon? #6276
Closed
2 tasks done
Labels
component: Tearsheet
priority: low
This can wait to be picked up
role: dev
type: enhancement 💡
New feature or request
Summary
Currently,
props.closeIconDescription
is marked as required if a Tearsheet has a close button. This deviates from the underlyingModalHeader
component from core Carbon which marksprops.iconDescription
as optional as it has a sensible default.Can this validation be updated to align with core Carbon?
Relevant information
No response
Name and organization
Code of Conduct
The text was updated successfully, but these errors were encountered: