tachybase_todo/docs/components/collection-fields/icon.md
2021-10-31 11:35:11 +08:00

442 B

Icon - 图标

Interface

export const icon: FieldOptions = {
  name: 'icon',
  type: 'object',
  group: 'basic',
  order: 8,
  title: '图标',
  default: {
    dataType: 'string',
    // name,
    uiSchema: {
      type: 'string',
      // title,
      'x-component': 'IconPicker',
      'x-decorator': 'FormItem',
      'x-designable-bar': 'IconPicker.DesignableBar',
    },
  },
  properties: {
    ...defaultProps,
  },
};