fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

[Bug]: display issues for slot props in Storybook

Open davidtong opened this issue 1 year ago • 2 comments

Library

React Components / v9 (@fluentui/react-components)

System Info

https://react.fluentui.dev/?path=/docs/components-dropdown--default

Are you reporting Accessibility issue?

None

Reproduction

https://react.fluentui.dev/?path=/docs/components-dropdown--default

Bug Description

Actual Behavior

Screen Shot 2023-05-18 at 11 00 43 PM The first 4 props aren't correctly formatted. For example, it is unclear whether the prop `expandIcon` is a boolean or an actual React element.

Expected Behavior

The 4 props shown in the screenshot should be written in English sentences.

Logs

No response

Requested priority

Normal

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • [X] The provided reproduction is a minimal reproducible example of the bug.

davidtong avatar May 19 '23 06:05 davidtong

FYI It's a general issue and happens for other components, too.

layershifter avatar May 23 '23 14:05 layershifter

as @layershifter mentioned , unless react-docgen improves generation of complicated interfaces or we will implement a custom storybook plugin I don't think there is much to do on our side.

Hotell avatar May 30 '23 16:05 Hotell

Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes.

Still require assistance? Please, create a new issue with up-to date details.