vxe-design
Version:
A PC-based visual designer based on Vxe UI, used for building zero-code and low-code platforms
19 lines (15 loc) • 482 B
text/typescript
import { handleGetFormDesignWidgetName } from '../render/util'
import type { VxeGlobalRendererHandles } from '../../../types'
export interface WidgetInputFormObjVO {
placeholder: string
}
export const getWidgetInputConfig = (): VxeGlobalRendererHandles.CreateFormDesignWidgetConfigObj<WidgetInputFormObjVO> => {
return {
title: handleGetFormDesignWidgetName,
icon: 'vxe-icon-input',
query: true,
options: {
placeholder: ''
}
}
}