aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/attributes/useCommandAttributes.js
blob: 1212d28325984bb58c4acd830c241a409a006a53 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { useMemo } from 'react';

export default (t) => useMemo(() => ({
  custom: [
    {
      key: 'data',
      name: t('commandData'),
      type: 'string',
    },
  ],
}), [t]);