mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-02 10:18:42 +00:00
[plugin] HMR lib hooks (#12108)
* Expose HMR plugin * Expose function for localizing a plugin component * Update npm version * better docs * Plugin provides i18n instance * Expose HMR plugin on different path * Bump version (again) * Ensure HMR plugin is properly built * Bump (again) * Specify callback function * Bump package version * Improved docstrings * Stricter type hinting
This commit is contained in:
@@ -153,3 +153,9 @@ export {
|
||||
useStoredTableState
|
||||
} from './states/StoredTableState';
|
||||
export { useLocalLibState } from './states/LocalLibState';
|
||||
|
||||
// Plugin development utilities and hooks
|
||||
export {
|
||||
default as LocalizedComponent,
|
||||
type LocaleLoader
|
||||
} from './plugin/LocalizedComponent';
|
||||
|
||||
Reference in New Issue
Block a user