Skip to content

Buttons are not styleable via styles function #12814

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

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions