@wordpress/notices
Version:
State management for notices.
8 lines (7 loc) • 678 B
Source Map (JSON)
{
"version": 3,
"sources": ["../../src/store/constants.ts"],
"sourcesContent": ["/**\n * Internal dependencies\n */\nimport type { Notice } from './types';\n\n/**\n * Default context to use for notice grouping when not otherwise specified. Its\n * specific value doesn't hold much meaning, but it must be reasonably unique\n * and, more importantly, referenced consistently in the store implementation.\n */\nexport const DEFAULT_CONTEXT = 'global';\n\n/**\n * Default notice status.\n */\nexport const DEFAULT_STATUS: Notice[ 'status' ] = 'info';\n"],
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUO,IAAM,kBAAkB;AAKxB,IAAM,iBAAqC;",
"names": []
}