UNPKG

okr-tree-org

Version:

![npm](https://img.shields.io/npm/v/vue3-tree-org) ![npm](https://img.shields.io/npm/dm/vue3-tree-org) ![NPM](https://img.shields.io/npm/l/vue3-tree-org) [![star](https://gitee.com/sangtian152/vue3-tree-org/badge/star.svg?theme=white)](https://gite

16 lines (15 loc) 776 B
declare const log: { print: (text: string | number | Record<string, unknown>, type: string, back: boolean) => boolean; pretty: (title: string, text: string, type?: string | undefined) => boolean; primary: (text: string, back?: boolean | undefined) => boolean; success: (text: string, back?: boolean | undefined) => boolean; info: (text: string, back?: boolean | undefined) => boolean; warning: (text: string, back?: boolean | undefined) => boolean; danger: (text: string, back?: boolean | undefined) => boolean; }; /** * @description 返回这个样式的颜色值 * @param {String} type 样式名称 [ primary | success | warning | danger | text ] */ export declare function typeColor(type?: string): string; export default log;