import { ElementType } from 'react';
import { IndexSignature } from '../../utils';

export const {{pascalCase name}} = (Component: ElementType) => {
  return function {{pascalCase name}}Component({ ...props }: IndexSignature) {
    return (
      <Component
        {...props}
      />
    );
  };
};

export type Type = any;
