1 Star 0 Fork 0

杀破狼 / twemoji-13.0.2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.d.ts 751 Bytes
一键复制 编辑 原始数据 按行查看 历史
cloudclassml 提交于 2021-12-24 23:16 . 1
interface TwemojiOptions {
/**
* Default: MaxCDN
*/
base?: string;
/**
* Default: .png
*/
ext?: string;
/**
* Default: emoji
*/
className?: string;
/**
* Default: 72x72
*/
size?: string | number;
/**
* To render with SVG use `folder: svg, ext: .svg`
*/
folder?: string;
/**
* The function to invoke in order to generate image src(s).
*/
callback?(icon: string, options: TwemojiOptions): void;
/**
* Default () => ({})
*/
attributes?(): void;
}
const twemoji: {
convert: {
fromCodePoint(hexCodePoint: string): string;
toCodePoint(utf16surrogatePairs: string): string;
};
parse(node: HTMLElement | string, options?: TwemojiOptions): void;
};
export default twemoji;
1
https://gitee.com/kenobi/twemoji-13.0.2.git
git@gitee.com:kenobi/twemoji-13.0.2.git
kenobi
twemoji-13.0.2
twemoji-13.0.2
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891