Replies: 2 comments 1 reply
-
Thanks for sharing all of the considerations with this approach 👍 If we decide to move forward with these updates to |
Beta Was this translation helpful? Give feedback.
-
My gut feel after poking around the code is to not use Another big reason is that What if we built a new forwardRef components specifically for interactions? If we build these well we might eventually replace |
Beta Was this translation helpful? Give feedback.
-
In rebuilding the
Tag
component I've run into issues with rebuilding with the button and link components in the system. We have two unstyled componentsUnstyledButton
andUnstyledLink
that we wanted to use to buildTag
with, but could not find a good way to get all the styling we needed with the new foundational layout components. The next thought was to rebuild these unstyled components withBox
. To do thisBox
now needs to render ana
orbutton
element when passed to theas
prop. This approach now deviates from the original purpose ofBox
as just a purely presentational component. Some thoughts/considerations:Box
needinga
andbutton
props/attributes?branch to prototype
Beta Was this translation helpful? Give feedback.
All reactions