mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
e331b778c1
* add a warning for components when they exceed the recommended options amount * Update packages/grafana-ui/src/components/Combobox/Combobox.tsx Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> * Update packages/grafana-ui/src/components/Combobox/Combobox.tsx Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> * log faro * log once with flag * log in setItems * move logOptions to utils and write tests * import function, update betterer for combobox * Fix lint errors * log once without the try * fix tests --------- Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com> Co-authored-by: joshhunt <josh@trtr.co> |
||
---|---|---|
.. | ||
.storybook | ||
src | ||
CHANGELOG.md | ||
LICENSE_APACHE2 | ||
package.json | ||
project.json | ||
README.md | ||
rollup.config.ts | ||
tsconfig.build.json | ||
tsconfig.json |
Grafana UI components library
@grafana/ui is a collection of components used by Grafana
Our goal is to deliver Grafana's common UI elements for plugins developers and contributors.
Browse the Storybook catalog of the components.
See package source for more details.
Installation
yarn add @grafana/ui
npm install @grafana/ui
Development
For development purposes we suggest using yarn link
that will create symlink to @grafana/ui lib. To do so navigate to packages/grafana-ui
and run yarn link
. Then, navigate to your project and run yarn link @grafana/ui
to use the linked version of the lib. To unlink follow the same procedure, but use yarn unlink
instead.