mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-18 20:58:59 +02:00
fix: Rename use-auth.js to use-auth.jsx for JSX support
This commit is contained in:
2875 files changed
+459559
-2
No files matched your search
+20
@@ -0,0 +1,20 @@
|
||||
import { unescape } from './unescape.js';
|
||||
|
||||
let defaultOptions = {
|
||||
bindI18n: 'languageChanged',
|
||||
bindI18nStore: '',
|
||||
// nsMode: 'fallback' // loop through all namespaces given to hook, HOC, render prop for key lookup
|
||||
transEmptyNodeValue: '',
|
||||
transSupportBasicHtmlNodes: true,
|
||||
transWrapTextNodes: '',
|
||||
transKeepBasicHtmlNodesFor: ['br', 'strong', 'i', 'p'],
|
||||
// hashTransKey: key => key // calculate a key for Trans component based on defaultValue
|
||||
useSuspense: true,
|
||||
unescape,
|
||||
};
|
||||
|
||||
export const setDefaults = (options = {}) => {
|
||||
defaultOptions = { ...defaultOptions, ...options };
|
||||
};
|
||||
|
||||
export const getDefaults = () => defaultOptions;
|
||||
Reference in new issue
Block a user