@lynx-js/types
Version:
@lynx-js/types is a type package of all public APIs officially provided by the Lynx team. Using this package can help you better use Lynx APIs to develop your applications.
33 lines (30 loc) • 484 B
TypeScript
import { BaseEvent } from '../events';
import { StandardProps } from '../props';
export interface SVGProps extends StandardProps {
/**
* SVG resource URL
* @iOS
* @Android
* @web
* @Harmony
* @PC
*/
'src'?: string;
/**
* SVG XML content
* @iOS
* @Android
* @web
* @Harmony
* @PC
*/
'content'?: string;
/**
* SVG Loaded
* @Android
* @iOS
* @Harmony
* @PC
*/
bindload?: (e: BaseEvent) => void;
}