ultra-icon
Version:
7 lines (6 loc) • 348 B
TypeScript
import React from 'react';
import { SVGComponentProps } from '../interface';
declare const withWrapper: <T, P = SVGComponentProps>(Component: React.ComponentType<P & {
ref?: React.Ref<T> | undefined;
}>) => React.ForwardRefExoticComponent<React.PropsWithoutRef<React.PropsWithChildren<P>> & React.RefAttributes<T>>;
export default withWrapper;