import React, { memo } from 'react';
import TemplateA from './templates/templateA';
export const bindTypeMap: any = {
  all: '全品类可用',
  type: '指定品类可用',
  ids: '指定商品可用',
};
const CouponTemplate = memo((props: any) => {
  if (props.CouponTemplateType === 'temp1') {
    return (
      <TemplateA {...props}></TemplateA>
    );
  }
  return <></>
});

export default CouponTemplate;
