Skip to content

[Docs]: add component classNames hooks to official documentation #34815

Description

@Hotell

Area

React Components (https://react.fluentui.dev)

What kind of documentation issue are you reporting?

  • Reporting a typo
  • Reporting a documentation bug
  • Documentation improvement
  • Documentation feedback

Is there a specific documentation page you are reporting?

every component page

Description

all v9 controls provide css classnames hooks as public api - example https://github.com/microsoft/fluentui/blob/master/packages/react-components/react-button/library/src/components/Button/useButtonStyles.styles.ts#L8-L11

these hooks are nowhere to find besides source code

This is a feature request to add new docs box that will document this public API.

Contrived Example:

Image

Validations

  • Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions