UNPKG

@zohodesk/dot

Version:

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

31 lines 894 B
import React from 'react'; import { defaultProps } from "./props/defaultProps"; import { propTypes } from "./props/propTypes"; import { Box } from '@zohodesk/components/es/v1/Layout'; import style from "../../../../setup/table/TableData/SetupTableData.module.css"; export default function TableData(props) { let { children, flexible, shrink, align, type, dataId, customClass, eleRef } = 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' // }; // }