react-image-hotspots
Version:
React component for rendering images with hotspots
17 lines • 572 B
TypeScript
export default Hotspot;
declare class Hotspot extends React.Component<any, any, any> {
constructor(props: any);
constructor(props: any, context: any);
render(): JSX.Element;
}
declare namespace Hotspot {
namespace propTypes {
const x: PropTypes.Requireable<number>;
const y: PropTypes.Requireable<number>;
const content: PropTypes.Requireable<PropTypes.ReactElementLike>;
const style: PropTypes.Requireable<object>;
}
}
import React from 'react';
import PropTypes from 'prop-types';
//# sourceMappingURL=Hotspot.d.ts.map