@coolbox/test
Version:
Icons for Coolbox
52 lines (50 loc) • 7.76 kB
TypeScript
/**
* if you are using DOM api directly
* e.g.
* const icon = document.createElement('coolbox-icon') // typeof icon === CoolBoxIconElement
* include below type declaration in your project
*
*/
interface CoolBoxIconElement extends HTMLElement {
'icon-id'?: '717843' | '717845' | '717847' | '717848' | '727703' | '729925' | '730001' | '731117' | '734161' | '743708' | '744248' | '744249' | '744250' | '744251' | '744252' | '744253' | '744254' | '744255' | '744256' | '744257' | '744258' | '744259' | '744260' | '744261' | '744262' | '744263' | '744264' | '744265' | '744266' | '744267' | '744268' | '744269' | '744270' | '744271' | '744272' | '744273' | '744274' | '744275' | '744276' | '744277' | '744278' | '744279' | '744280' | '744281' | '744282' | '744283' | '744284' | '744285' | '744286' | '744287' | '744288' | '744290' | '744291' | '744292' | '744293' | '744294' | '744295' | '744296' | '744297' | '744298' | '744299' | '744300' | '744301' | '744302' | '744303' | '744304' | '744305' | '744306' | '744307' | '744308' | '744309' | '744310' | '744311' | '744312' | '744313' | '744314' | '744315' | '744316' | '744317' | '744318' | '744319' | '744320' | '744321' | '744322' | '744323' | '744324' | '744325' | '744326' | '744327' | '744328' | '744329' | '744330' | '744331' | '744332' | '744333' | '744334' | '744335' | '744336' | '744337' | '744338' | '744339' | '744340' | '744341' | '744342' | '744343' | '744344' | '744345' | '744346' | '749921' | '749923' | '749986' | '749987' | '749988' | '749989' | '749990' | '749991' | '749992' | '749993' | '749994' | '754010' | '754840' | '754841' | '756376' | '757751' | '777009' | '777011' | '777017' | '777024' | '777032';
name?: 'source22523' | 'source226' | 'source227' | 'source229' | 'qingtianLOGO2' | 'guojihua' | 'aa' | 'zonghepaixu' | 'logocaise' | 'home-line' | 'logo-mini' | 'fanhui' | 'shezhi' | 'nodata' | 'kefu' | 'tishi-wenhao' | 'zhuanfa' | 'home' | 'liangse' | 'guojihua-87566047' | 'gengduo' | 'bianzu3' | 'pinglun' | 'chenggong' | 'chuangjian' | 'weixin' | 'zhuanjiance' | 'shanchu' | 'xitong' | 'shudi' | 'fenxizhong' | 'zuo' | 'xia' | 'bofang' | 'douyin-1' | 'yujingxinxi' | 'shipinzongliang' | 'zanwufangan' | 'yujing1' | 'bofang-1' | 'guanbi' | 'wushuju' | 'wujieguo' | 'bianzu22' | 'wenhai-logo' | 'zonghepaixu-875660be' | 'shoucang' | 'peizhicaidan' | 'lianjie' | 'shibai' | 'yuedu' | 'xiazai' | 'mingzhongguanjianci' | 'suoxiao' | 'anhei' | 'fuzhi' | 'you' | 'dingwei' | 'zhanghaozongshu' | 'rengongyujing' | 'bilibili' | 'weibo' | 'shang' | 'touxiang' | 'redu' | 'AIfengkong' | 'jiancexinzeng' | 'zhanghaofengkong' | 'zhanghaofugai' | 'youxiang' | 'bianji' | 'dianhua' | 'yuanchuang-shipinshuju' | 'qinglangshipinfengkongpingtai' | 'sousuo' | 'yujing-nav' | 'jiance' | 'baogao' | 'tishi-tanhao' | 'shaixuan' | 'fenxi' | 'xiaoxi' | 'qingtian-logo-video' | 'fenximokuai' | 'qiehuan' | 'sousuo-btn' | 'guojihua-1' | 'tianjia' | 'zhankai' | 'qingtian-logo' | 'shouqi' | 'tubiao' | 'shuaxin' | 'riqi' | 'dianzan' | 'xigua' | 'liebiao' | 'shijian' | 'kuaishou' | 'douyin' | 'shoucangjiasvg' | 'biaotizhuangshi' | 'tishi' | 'renlianfengkong' | 'qingtianyuqing' | 'fengxianxinxi' | 'changjingfengkong' | 'pinglunshuju' | 'chat-1-line' | 'chat-line-one' | 'magic-line-one' | 'magic-line-two' | 'layout-2-fill' | 'magic-line' | 'layout-right-2-fill' | 'pencil-ruler-fill' | 'layout-right-1-fill' | 'layout-1-fill' | 'home-6-fill' | 'ico' | 'kefu-8a96ndo1' | 'shanchu-8a972i-b611-8a972i' | 'shuian-two' | 'wenge-one-black' | 'data' | 'kefu-8fa9lggo' | 'kefu-8fa9oan7' | 'kefu-8faa396n' | 'kefu-8faaabcp';
size?: string;
width?: string;
height?: string;
color?: string;
stroke?: string;
fill?: string;
rtl?: string;
spin?: string;
}
declare global {
interface HTMLElementTagNameMap {
'coolbox-icon': CoolBoxIconElement,
}
}
/**
* if you are using React JSX with typescript
* e.g.
* <coolbox-icon name="xxx" />
* include below type declaration in your project (don't forget to import React from 'react')
*
*/
declare global {
interface CoolBoxIconAttributes<T> extends React.HTMLAttributes<T> {
'icon-id'?: '717843' | '717845' | '717847' | '717848' | '727703' | '729925' | '730001' | '731117' | '734161' | '743708' | '744248' | '744249' | '744250' | '744251' | '744252' | '744253' | '744254' | '744255' | '744256' | '744257' | '744258' | '744259' | '744260' | '744261' | '744262' | '744263' | '744264' | '744265' | '744266' | '744267' | '744268' | '744269' | '744270' | '744271' | '744272' | '744273' | '744274' | '744275' | '744276' | '744277' | '744278' | '744279' | '744280' | '744281' | '744282' | '744283' | '744284' | '744285' | '744286' | '744287' | '744288' | '744290' | '744291' | '744292' | '744293' | '744294' | '744295' | '744296' | '744297' | '744298' | '744299' | '744300' | '744301' | '744302' | '744303' | '744304' | '744305' | '744306' | '744307' | '744308' | '744309' | '744310' | '744311' | '744312' | '744313' | '744314' | '744315' | '744316' | '744317' | '744318' | '744319' | '744320' | '744321' | '744322' | '744323' | '744324' | '744325' | '744326' | '744327' | '744328' | '744329' | '744330' | '744331' | '744332' | '744333' | '744334' | '744335' | '744336' | '744337' | '744338' | '744339' | '744340' | '744341' | '744342' | '744343' | '744344' | '744345' | '744346' | '749921' | '749923' | '749986' | '749987' | '749988' | '749989' | '749990' | '749991' | '749992' | '749993' | '749994' | '754010' | '754840' | '754841' | '756376' | '757751' | '777009' | '777011' | '777017' | '777024' | '777032';
name?: 'source22523' | 'source226' | 'source227' | 'source229' | 'qingtianLOGO2' | 'guojihua' | 'aa' | 'zonghepaixu' | 'logocaise' | 'home-line' | 'logo-mini' | 'fanhui' | 'shezhi' | 'nodata' | 'kefu' | 'tishi-wenhao' | 'zhuanfa' | 'home' | 'liangse' | 'guojihua-87566047' | 'gengduo' | 'bianzu3' | 'pinglun' | 'chenggong' | 'chuangjian' | 'weixin' | 'zhuanjiance' | 'shanchu' | 'xitong' | 'shudi' | 'fenxizhong' | 'zuo' | 'xia' | 'bofang' | 'douyin-1' | 'yujingxinxi' | 'shipinzongliang' | 'zanwufangan' | 'yujing1' | 'bofang-1' | 'guanbi' | 'wushuju' | 'wujieguo' | 'bianzu22' | 'wenhai-logo' | 'zonghepaixu-875660be' | 'shoucang' | 'peizhicaidan' | 'lianjie' | 'shibai' | 'yuedu' | 'xiazai' | 'mingzhongguanjianci' | 'suoxiao' | 'anhei' | 'fuzhi' | 'you' | 'dingwei' | 'zhanghaozongshu' | 'rengongyujing' | 'bilibili' | 'weibo' | 'shang' | 'touxiang' | 'redu' | 'AIfengkong' | 'jiancexinzeng' | 'zhanghaofengkong' | 'zhanghaofugai' | 'youxiang' | 'bianji' | 'dianhua' | 'yuanchuang-shipinshuju' | 'qinglangshipinfengkongpingtai' | 'sousuo' | 'yujing-nav' | 'jiance' | 'baogao' | 'tishi-tanhao' | 'shaixuan' | 'fenxi' | 'xiaoxi' | 'qingtian-logo-video' | 'fenximokuai' | 'qiehuan' | 'sousuo-btn' | 'guojihua-1' | 'tianjia' | 'zhankai' | 'qingtian-logo' | 'shouqi' | 'tubiao' | 'shuaxin' | 'riqi' | 'dianzan' | 'xigua' | 'liebiao' | 'shijian' | 'kuaishou' | 'douyin' | 'shoucangjiasvg' | 'biaotizhuangshi' | 'tishi' | 'renlianfengkong' | 'qingtianyuqing' | 'fengxianxinxi' | 'changjingfengkong' | 'pinglunshuju' | 'chat-1-line' | 'chat-line-one' | 'magic-line-one' | 'magic-line-two' | 'layout-2-fill' | 'magic-line' | 'layout-right-2-fill' | 'pencil-ruler-fill' | 'layout-right-1-fill' | 'layout-1-fill' | 'home-6-fill' | 'ico' | 'kefu-8a96ndo1' | 'shanchu-8a972i-b611-8a972i' | 'shuian-two' | 'wenge-one-black' | 'data' | 'kefu-8fa9lggo' | 'kefu-8fa9oan7' | 'kefu-8faa396n' | 'kefu-8faaabcp';
size?: string;
width?: string;
height?: string;
color?: string;
stroke?: string;
fill?: string;
rtl?: string;
spin?: string;
}
namespace JSX {
interface IntrinsicElements {
'coolbox-icon': React.DetailedHTMLProps<CoolBoxIconAttributes<HTMLElement>, HTMLElement>;
}
}
}