antd-omi-icons
Version:
Ant Design Icons for Omi
22 lines (21 loc) • 659 B
TypeScript
import { Component as OmiComponent } from 'omi';
import type { IconComponentProps } from './types';
declare global {
namespace JSX {
interface IntrinsicElements {
['o-icon']: Omi.Props & Partial<IconComponentProps>;
}
}
}
export default class Icon extends OmiComponent<IconComponentProps> {
static propTypes: {
spin: BooleanConstructor;
rotate: NumberConstructor;
viewBox: StringConstructor;
ariaLabel: StringConstructor;
};
static inheritAttrs: boolean;
static displayName: string;
static css: string;
render(props: Omi.OmiProps<IconComponentProps>): JSX.Element;
}