@ebay/ebayui-core
Version:
Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.
22 lines (21 loc) • 582 B
TypeScript
import type { WithNormalizedProps } from "../../global";
interface IconDefs {
server: string;
browser: any;
}
interface IconInput extends Omit<Marko.Input<"svg">, `on${string}`> {
_themes?: () => string;
_type: string;
_name: string;
_size?: string;
_def?: () => IconDefs;
"a11y-variant"?: "label";
"a11y-text"?: Marko.HTMLAttributes["aria-label"];
"no-skin-classes"?: boolean;
}
export interface Input extends WithNormalizedProps<IconInput> {
}
declare class Icon extends Marko.Component<Input> {
onMount(): void;
}
export default Icon;