We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ran into a snafu (thought it's mostly how our components are built).
We connected our code for Avatar:
<Avatar text="AB" size="extra_large" />
Pretty simple, right? So for our AvatarGroup, we should just be able to do the wrapper component and then {children}, right? WRONG.
{children}
Because the code for AvatarGroup should look like:
<AvatarGroup overflow={4}> <AvatarGroupItem text="AB" border /> <AvatarGroupItem text="AB" border /> <AvatarGroupItem text="AB" border /> <AvatarGroupItem text="AB" border /> <AvatarGroupItem text="+3" border /> </AvatarGroup>
Any ideas on how to accommodate for that? In Figma, the child components in the Group are the same as the individual Avatar component 😢 😡
tldr; I'd like for a way to rename the component when it is specifically the child of another component.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ran into a snafu (thought it's mostly how our components are built).
We connected our code for Avatar:
Pretty simple, right? So for our AvatarGroup, we should just be able to do the wrapper component and then
{children}
, right? WRONG.Because the code for AvatarGroup should look like:
Any ideas on how to accommodate for that? In Figma, the child components in the Group are the same as the individual Avatar component 😢 😡
tldr; I'd like for a way to rename the component when it is specifically the child of another component.
The text was updated successfully, but these errors were encountered: