GrafanaUI: Add new EmptyState component (#84891)

* add empty search state component

* extract translations

* nicer prop spreading

* actually expose component in grafana-ui

* use requestAnimationFrame

* add rollup-plugin-svg-import

* move to a single EmptyState component with variants

* update docs

* remove CTA

* add some more prop documentation

* just use 1 svg
This commit is contained in:
Ashley Harrison
2024-03-22 14:46:32 +00:00
committed by GitHub
parent f47916253c
commit a0bcc44b63
11 changed files with 290 additions and 1 deletions

View File

@@ -563,6 +563,9 @@
"drawer": {
"close": "Close"
},
"empty-state": {
"search-message": "No results found"
},
"modal": {
"close-tooltip": "Close"
},