You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove accessory capability/slot from TextArea component (#3603)
Resolvesshop/issues-retail#21304
### Background
This PR refines the TypeScript definitions for the TextArea component in the Point of Sale UI extensions.
### Solution
This change streamlines the type definitions by:
- Removing the `accessory` prop from the `TextAreaJSXProps` interface
These changes make the type definitions more maintainable while preserving type safety.
### 🎩
- Verified that existing components using TextArea still compile correctly
- Confirmed that the type definitions work as expected in the Point of Sale surface
### Checklist
- [ ] I have 🎩'd these changes
- [ ] I have updated relevant documentation
* Represents the event object passed to callback functions when interactive events occur. Contains metadata about the event, including the target element, event phase, and propagation behavior.
* The additional content to be displayed in the field. Commonly used to display clickable text or action elements. Only `Button` and `Clickable` components are supported in this slot. Use the `slot="accessory"` attribute to place elements in this area.
0 commit comments