mirror of
https://github.com/mattermost/mattermost.git
synced 2026-06-11 20:07:34 +00:00
* 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
Mattermost Shared Package
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