-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make clear ActionList.Item's trailingIcon
can be a component
#1435
Comments
Thank you! I added this to our project board. |
This may just be a renaming issue, it sounds like the team were able to implement with existing functinoality. @jfuchs will confirm, and @vdepizzol will review api naming. |
@jfuchs and I worked and found that it actually is supported, but the naming and the prop restrictions ( |
trailingIcon
can be a component
@six7 @dusave @colebemis I took the permission to rename this issue to address the API naming specifically, since custom components are already supported. ✨ Some background on current props and behaviors:
OptionsWe could adopt If we think there's a need to make it more accurate, we could name it to something more generic, like @jfuchs @colebemis @six7 thoughts? A draft of tasks discussed above
|
Just my two cents as a consumer, Honestly, an even more approachable.... approach, would be to allow the contents of the cell to be defined, but without requiring all iterations to be redefined (e.g. hover interactions, colors, dividers, etc.) When we didn't know we could use the |
👍 to |
FYI we're adopting |
The component props of
ActionList.Item
suggest that trailingIcon can be either an icon or similar.Would a
Label
be considered appropriate usage for this? If so, should we update props to allow more generic usage?In addition to this,
leadingVisual
has the same definition but it's name ("Visual") suggest a more generic usage, I'm wondering if this differentiation in name is still appropriate.In effect, this is what I'm envisioning:
The text was updated successfully, but these errors were encountered: