UNPKG

@zohodesk/dot

Version:

In this Library, we Provide Some Basic Components to Build Your Application

29 lines (28 loc) 744 B
import React from 'react'; import { defaultProps } from "./props/defaultProps"; import { propTypes } from "./props/propTypes"; import { Box } from '@zohodesk/components/lib/Layout'; export default class TableBody extends React.Component { render() { let { children, eleRef, onScroll = () => {}, customClass } = this.props; return /*#__PURE__*/React.createElement(Box, { eleRef: eleRef, flexible: true, scroll: "vertical", onScroll: onScroll, className: customClass }, children); } } TableBody.propTypes = propTypes; TableBody.defaultProps = defaultProps; // if (__DOCS__) { // TableBody.docs = { // componentGroup: 'Table', // folderName: 'Setup' // }; // }