jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
17 lines (16 loc) • 387 B
TypeScript
import type { ActionSchema, BaseSchema, ButtonGroupSchema, SwitchControlSchema } from '../types';
/**
* 操作栏渲染器。
*
*/
export interface OperationSchema extends BaseSchema {
/**
* 指定为操作栏
*/
type: 'operation';
/**
* 占位符
*/
placeholder?: string;
buttons: (ActionSchema | SwitchControlSchema | ButtonGroupSchema)[];
}