zent
Version:
一套前端设计语言和基于React的实现
10 lines (9 loc) • 534 B
JavaScript
import { __assign, __rest } from "tslib";
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
import TimeFooter from './TimeFooter';
import TimePickerBody from './TimeBody';
var TimePickerPanel = function (_a) {
var hideFooter = _a.hideFooter, restprops = __rest(_a, ["hideFooter"]);
return (_jsxs(_Fragment, { children: [_jsx(TimePickerBody, __assign({}, restprops), void 0), !hideFooter && _jsx(TimeFooter, __assign({}, restprops), void 0)] }, void 0));
};
export default TimePickerPanel;