Files
Harrison Healey 10ad2505a7 Split out buttonClassNames utility and use for most places Button isn't (#36328)
* Split out buttonClassNames utility and use for most places Button isn't

* Update StartTrialBtn to use buttonClassNames

Ideally, we'd:
1. Use Button, but that requires sorting out the one case that overrides
   btnClass entirely.
2. Use a button for all of these since none of these should have a link
   role, but that's outside of the scope of this ticket.

* Update another new button to use Button
2026-05-06 17:35:10 -04:00
..

Mattermost Shared Package

npm version

This package contains shared components and other utilities for use by the Mattermost web app and its plugins.

Caution

This is a pre-release package in active development. It is currently for internal use only, and it may change significantly between now and when it is fully released.

Installation

This package requires a matching version of the @mattermost/types package. It also requires React and React Intl.

$ npm install @mattermost/shared @mattermost/types

Additionally, if you're writing unit tests involving these components, React Testing Library is also required.

$ npm install @testing-library/react

Usage

TODO

Development

Compilation and Packaging

TODO