vendor: amis 6.13.0 base (fork root)
This commit is contained in:
1
packages/amis-editor/examples/icons/corpus-i18n.svg
Normal file
1
packages/amis-editor/examples/icons/corpus-i18n.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg width="15" height="15" xmlns="http://www.w3.org/2000/svg"><g transform="translate(1 1)" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"><circle cx="6.5" cy="6.5" r="6.5"/><ellipse cx="6.5" cy="6.5" rx="6.5" ry="2.5"/><ellipse transform="rotate(-90 6.5 6.5)" cx="6.5" cy="6.5" rx="6.5" ry="2.5"/></g></svg>
|
||||
|
After Width: | Height: | Size: 364 B |
1
packages/amis-editor/examples/icons/h5-preview.svg
Normal file
1
packages/amis-editor/examples/icons/h5-preview.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><g fill="none"><path d="M0 0h16v16H0z"/><path d="M13 1.5a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V2a.5.5 0 0 1 .5-.5Zm-.5 1h-9v11h9v-11ZM9 11.66a.5.5 0 0 1 .09.992L9 12.66H7a.5.5 0 0 1-.09-.992L7 11.66h2Z" fill="currentColor"/></g></svg>
|
||||
|
After Width: | Height: | Size: 311 B |
18
packages/amis-editor/examples/icons/index.tsx
Normal file
18
packages/amis-editor/examples/icons/index.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* @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};
|
||||
1
packages/amis-editor/examples/icons/pc-preview.svg
Normal file
1
packages/amis-editor/examples/icons/pc-preview.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg viewBox="0 0 17 16" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><path d="M16.037 0h-16v16h16z"/><path d="M6.037 14a.5.5 0 0 1-.09-.992l.09-.008h1.5v-1.5h-5.5a.5.5 0 0 1-.5-.5V2.542a.5.5 0 0 1 .5-.5h12a.5.5 0 0 1 .5.5V11a.5.5 0 0 1-.5.5h-5.5V13h1.5a.5.5 0 0 1 .09.992l-.09.008h-4Zm7.5-10.959h-11V10.5h11V3.041Z" fill="currentColor"/></g></svg>
|
||||
|
After Width: | Height: | Size: 374 B |
Reference in New Issue
Block a user