UNPKG

@wordpress/icons

Version:
27 lines 636 B
/** * External dependencies */ import type { ReactElement } from 'react'; import type { SVGProps } from '@wordpress/primitives'; export interface IconProps extends SVGProps { /** * The SVG component to render */ icon: ReactElement; /** * The size of the icon in pixels * * @default 24 */ size?: number; } /** * Return an SVG icon. * * @param props The component props. * * @return Icon component */ declare const _default: import("react").ForwardRefExoticComponent<IconProps & import("react").RefAttributes<HTMLElement>>; export default _default; //# sourceMappingURL=index.d.ts.map