UNPKG

@iobroker/adapter-react

Version:

React classes to develop admin interfaces for ioBroker with react.

44 lines (43 loc) 1.28 kB
export default IconCopy; export type IconCopyProps = { /** * The key to identify this component. */ key?: string; /** * The width in pixels of the icon. */ width?: number; /** * The height in pixels of the icon. */ height?: number; /** * Click handler. */ onClick?: (e: React.MouseEvent) => void; /** * The class name for the SVG element. */ className?: string; }; /** * @typedef {object} IconCopyProps * @property {string} [key] The key to identify this component. * @property {number} [width] The width in pixels of the icon. * @property {number} [height] The height in pixels of the icon. * @property {(e: React.MouseEvent) => void} [onClick] Click handler. * @property {string} [className] The class name for the SVG element. * * @extends {React.Component<IconCopyProps>} */ declare function IconCopy(props: any): JSX.Element; declare namespace IconCopy { namespace propTypes { const onClick: PropTypes.Requireable<(...args: any[]) => any>; const width: PropTypes.Requireable<string | number>; const height: PropTypes.Requireable<string | number>; const className: PropTypes.Requireable<string>; } } import PropTypes from "prop-types";