aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes/useGroupAttributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/common/attributes/useGroupAttributes.js')
-rw-r--r--modern/src/common/attributes/useGroupAttributes.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/modern/src/common/attributes/useGroupAttributes.js b/modern/src/common/attributes/useGroupAttributes.js
new file mode 100644
index 00000000..53a299e1
--- /dev/null
+++ b/modern/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]);