@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
38 lines (36 loc) • 977 B
JavaScript
import React from 'react';
import { defaultProps } from "./props/defaultProps";
import { propTypes } from "./props/propTypes";
import { Box } from '@zohodesk/components/lib/Layout';
import style from "./SetupTableData.module.css";
export default class TableData extends React.Component {
constructor(props) {
super(props);
}
render() {
let {
children,
flexible,
shrink,
align,
type,
dataId,
customClass,
eleRef
} = this.props;
return /*#__PURE__*/React.createElement(Box, {
dataId: dataId,
flexible: flexible,
shrink: shrink,
eleRef: eleRef,
className: `${customClass} ${style.container} ${type ? style[type] : ''} ${align ? style[align] ? style[align] : '' : ''}`
}, children);
}
}
TableData.defaultProps = defaultProps;
TableData.propTypes = propTypes; // if (__DOCS__) {
// TableData.docs = {
// componentGroup: 'Table',
// folderName: 'Setup'
// };
// }