Skip to content

Buttons are not styleable via styles function #12814

@SIN3d73

Description

@SIN3d73

Environment Information

  • Package version(s): 7.107.2
  • Browser and OS versions: does not matter

Actual behavior:

I can't use functional-based styling in any Button.

IButtonProps

  /**
   * Custom styling for individual elements within the button DOM.
   */
  styles?: IButtonStyles;

Expected behavior:

According to https://github.com/microsoft/fluentui/wiki/Component-Styling#function-based-styling all components should be able to be styled via styles function or object

Priorities and help requested:

Are you willing to submit a PR to fix? No

Requested priority: Blocking

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions