@cainiaofe/cn-ui-layout
Version:
- 安装 cone-cli | [Cone-CLI 使用指引](https://alidocs.dingtalk.com/i/nodes/xdqZp24KneBJzvGM6XezJvyb7RA0Nr1E) - `tnpm i -g @alife/cone-cli@latest` - 安装依赖包 - `cone install` - 启动研发 - `cone start`
18 lines • 542 B
JavaScript
import React from 'react';
import { CnLayoutCell as UICnLayoutCell } from "../../components/cn-layout";
import { enableDivider } from "./enhance/callbacks";
var CnLayoutCell = function CnLayoutCell(props) {
var _ref = props || {},
children = _ref.children;
return /*#__PURE__*/React.createElement(UICnLayoutCell, {
style: {
height: '100%'
},
onClick: function onClick() {
enableDivider();
}
}, children);
};
CnLayoutCell.displayName = 'CnLayoutCell';
export default CnLayoutCell;
export { CnLayoutCell };