import React from 'react'; import LinesButton from './button-lines'; import connect from "../connect"; export interface Props { type: | 'lines-button'; // 多行按钮 } const TplButton: React.FC = ({ type, ...otherProps }) => { if (type === 'lines-button') return ; return null; }; export default connect(TplButton, {}, { 'lines-button': (TplButton as any).default });