mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
19 lines
384 B
TypeScript
19 lines
384 B
TypeScript
/**
|
|
* @file 内置 svg 图标
|
|
*/
|
|
|
|
import {Icon, registerIcon} from 'amis';
|
|
|
|
// @ts-ignore
|
|
import PCPreview from './pc-preview.svg';
|
|
// @ts-ignore
|
|
import H5Preview from './h5-preview.svg';
|
|
registerIcon('pc-preview', PCPreview);
|
|
registerIcon('h5-preview', H5Preview);
|
|
|
|
// @ts-ignore
|
|
import CorpusI18n from './corpus-i18n.svg';
|
|
registerIcon('corpus-i18n', CorpusI18n);
|
|
|
|
export {Icon};
|