owl-properties
Version:
properties kanban uesd in odoo owl2
13 lines (12 loc) • 410 B
TypeScript
type Value = string | number | boolean | undefined | null;
type Mapping = {
[key: string]: Value | boolean;
};
type Argument = Value | Mapping | Array<Value | Mapping>;
/**
* 自定义className合并函数,用于给带&的className添加前缀
* @param names - className参数
* @returns 合并后的className字符串
*/
export declare const classNames: (...names: Argument[]) => string;
export {};