akeneo / pim-community-dev

[Community Development Repository] The open source Product Information Management (PIM)
http://www.akeneo.com
Other
950 stars 513 forks source link

Fix type for Dropdown.Surtitle #20376

Closed sdelanos closed 5 months ago

sdelanos commented 6 months ago

(first contrib, tell me if I'm missing anything) Description

When using the Dropdown.Surtitle element from the DSM I ran into an error when using the examples provided. The component didn't allow children because it is not in the props.

When testing locally, my quick&dirty fix was to modify the node_modules type directly image

It worked well so I'm now adding the fix here.

More info The example I tried to use: https://dsm.akeneo.com/?path=/docs/components-dropdown--surtitle-item#surtitle-item The error: Screenshot 2023-12-29 at 12 12 08

Definition Of Done

github-actions[bot] commented 6 months ago

A new version of the staging env has been deployed :tada: Check it out here: https://akeneo.github.io/akeneo-design-system/20376/

github-actions[bot] commented 6 months ago

A new version of the staging env has been deployed :tada: Check it out here: https://akeneo.github.io/akeneo-design-system/20376/