forked from p96170835/amis
添加 move icon
This commit is contained in:
parent
c9e3345f45
commit
80077117b6
|
@ -54,6 +54,9 @@ import SearchIcon from '../icons/search.svg';
|
|||
// @ts-ignore
|
||||
import BackIcon from '../icons/back.svg';
|
||||
|
||||
// @ts-ignore
|
||||
import MoveIcon from '../icons/move.svg';
|
||||
|
||||
// 兼容原来的用法,后续不直接试用。
|
||||
// @ts-ignore
|
||||
export const closeIcon = <CloseIcon />;
|
||||
|
@ -111,6 +114,7 @@ registerIcon('success', SuccessIcon);
|
|||
registerIcon('fail', FailIcon);
|
||||
registerIcon('search', SearchIcon);
|
||||
registerIcon('back', BackIcon);
|
||||
registerIcon('move', MoveIcon);
|
||||
|
||||
export function Icon({
|
||||
icon,
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16" version="1.1">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g fill="currentColor">
|
||||
<polygon points="8.02 0 5.161 2.859 6.161 3.859 7.02 3.001 7.02 7.02 3.001 7.02 3.859 6.16 2.859 5.161 0 8.02 2.82 10.84 3.82 9.84 3.001 9.02 7.02 9.02 7.02 13.001 6.161 12.141 5.161 13.141 8.02 16 10.839 13.18 9.839 12.181 9.02 13.001 9.02 9.02 13.001 9.02 12.18 9.84 13.18 10.84 16 8.02 13.141 5.161 12.141 6.16 13.001 7.02 9.02 7.02 9.02 3.001 9.839 3.82 10.839 2.82"></polygon>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 649 B |
Loading…
Reference in New Issue