import React from 'react' ; import defaultOptions from '../../defaultOptions' ; import { IGroupRowProps } from '../../props' ; import { getElementCustomization } from '../../Utils/ComponentUtils' ; import GroupRowContent from '../GroupRowContent/GroupRowContent' ; const GroupRow = ( props ) => { const { childComponents } = props ; const { elementAttributes , content } = getElementCustomization ( { className : defaultOptions . css . groupRow } , props , childComponents . groupRow ) ; return ( < tr { ... elementAttributes } > { content ? content : < GroupRowContent { ... props } / > } < /tr>); } ; export default GroupRow ;