aboutsummaryrefslogtreecommitdiff
path: root/src/common/attributes/useGroupAttributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/attributes/useGroupAttributes.js')
-rw-r--r--src/common/attributes/useGroupAttributes.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/common/attributes/useGroupAttributes.js b/src/common/attributes/useGroupAttributes.js
new file mode 100644
index 00000000..53a299e1
--- /dev/null
+++ b/src/common/attributes/useGroupAttributes.js
@@ -0,0 +1,12 @@
+import { useMemo } from 'react';
+
+export default (t) => useMemo(() => ({
+ 'processing.copyAttributes': {
+ name: t('attributeProcessingCopyAttributes'),
+ type: 'string',
+ },
+ 'decoder.timezone': {
+ name: t('sharedTimezone'),
+ type: 'string',
+ },
+}), [t]);