import React from 'react';
import SeparateLabel from './label-separate';
import connect from "../connect";

export interface Props {
  type: 'separate';
}

const TplLabel: React.FC<Props> = ({ type }) => {
  if (type === 'separate') return <SeparateLabel />;
  return null;
};

export default connect(TplLabel, {}, {
  'separate': (SeparateLabel as any).default
});
