Skip to content
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

[bug]: v2/SimpleMenu with Icon does not Show Icon #1418

Open
derschiw opened this issue Oct 18, 2023 · 0 comments
Open

[bug]: v2/SimpleMenu with Icon does not Show Icon #1418

derschiw opened this issue Oct 18, 2023 · 0 comments
Labels
issue: bug Issue reporting a bug source: design-system relates to design-system package status: confirmed Confirmed by a Strapi Team member or multiple community members
Milestone

Comments

@derschiw
Copy link

What version of strapi-design-system are you using?

NPM Version: 8.19.2
Node.js: v16.18.1
Strapi Design System: 1.12.0
Browser: Firefox 118.0.1, Chromium Version 118.0.5993.54 (Official Build) Arch Linux (64-bit)

What's Wrong?

When using the SimpleMenu and adding an IconButton then there is no icon visible. Instead the button is just empty in a specified color.

<SimpleMenu aria-label="Notifications" as={IconButton} icon={<Bell />}>

This behaviour is also visible on the documentation page:
https://design-system-git-main-strapijs.vercel.app/?path=/story/design-system-components-v2-simplemenu--with-icons

To Reproduce

You can see it in the documentation:
https://design-system-git-main-strapijs.vercel.app/?path=/story/design-system-components-v2-simplemenu--with-icons

Expected Behaviour

The icon should be visible in the button.

@derschiw derschiw added the issue: bug Issue reporting a bug label Oct 18, 2023
@joshuaellis joshuaellis added status: confirmed Confirmed by a Strapi Team member or multiple community members source: design-system relates to design-system package labels May 7, 2024
@joshuaellis joshuaellis added this to the v2.0.0 milestone May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug source: design-system relates to design-system package status: confirmed Confirmed by a Strapi Team member or multiple community members
Projects
None yet
Development

No branches or pull requests

2 participants