58 lines
1.4 KiB
TypeScript
58 lines
1.4 KiB
TypeScript
|
import { JSXComponent, PropType } from 'vue';
|
||
|
|
||
|
type IconValue = string | (string | [path: string, opacity: number])[] | JSXComponent;
|
||
|
declare const IconValue: PropType<IconValue>;
|
||
|
interface IconAliases {
|
||
|
[name: string]: IconValue;
|
||
|
complete: IconValue;
|
||
|
cancel: IconValue;
|
||
|
close: IconValue;
|
||
|
delete: IconValue;
|
||
|
clear: IconValue;
|
||
|
success: IconValue;
|
||
|
info: IconValue;
|
||
|
warning: IconValue;
|
||
|
error: IconValue;
|
||
|
prev: IconValue;
|
||
|
next: IconValue;
|
||
|
checkboxOn: IconValue;
|
||
|
checkboxOff: IconValue;
|
||
|
checkboxIndeterminate: IconValue;
|
||
|
delimiter: IconValue;
|
||
|
sortAsc: IconValue;
|
||
|
sortDesc: IconValue;
|
||
|
expand: IconValue;
|
||
|
menu: IconValue;
|
||
|
subgroup: IconValue;
|
||
|
dropdown: IconValue;
|
||
|
radioOn: IconValue;
|
||
|
radioOff: IconValue;
|
||
|
edit: IconValue;
|
||
|
ratingEmpty: IconValue;
|
||
|
ratingFull: IconValue;
|
||
|
ratingHalf: IconValue;
|
||
|
loading: IconValue;
|
||
|
first: IconValue;
|
||
|
last: IconValue;
|
||
|
unfold: IconValue;
|
||
|
file: IconValue;
|
||
|
plus: IconValue;
|
||
|
minus: IconValue;
|
||
|
calendar: IconValue;
|
||
|
}
|
||
|
interface IconProps {
|
||
|
tag: string;
|
||
|
icon?: IconValue;
|
||
|
disabled?: Boolean;
|
||
|
}
|
||
|
type IconComponent = JSXComponent<IconProps>;
|
||
|
interface IconSet {
|
||
|
component: IconComponent;
|
||
|
}
|
||
|
|
||
|
declare const aliases: IconAliases;
|
||
|
declare const fa: IconSet;
|
||
|
//# sourceMappingURL=fa-svg.d.ts.map
|
||
|
|
||
|
export { aliases, fa };
|