mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Updates files outside of x-pack to be triple-licensed under Elastic License 2.0, AGPL 3.0, or SSPL 1.0. |
||
---|---|---|
.. | ||
src | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
README.md | ||
tsconfig.json | ||
types.ts |
@kbn/unsaved-changes-badge
A yellow "Unsaved changes" badge which can be found for example on Discover page. It supports callbacks to save or revert the changes.
To integrate it into TopNav component, consider using getTopNavUnsavedChangesBadge(...)
util and pass the result to badges
prop of the top nav.
There is also a standalone component <UnsavedChangesBadge .../>
.