import * as React from 'react' ; import defaultOptions from '../../defaultOptions' ; import { IFilterRowEditorProps } from '../../props' ; import { getElementCustomization } from '../../Utils/ComponentUtils' ; import FilterRowDataType from '../FilterRowDataType/FilterRowDataType' ; const FilterCell = ( props ) => { const { childComponents , column : { style } , } = props ; const { elementAttributes , content } = getElementCustomization ( { className : `${ defaultOptions . css . theadCell } ka-filter-row-cell ${ defaultOptions . css . theadBackground } ${ defaultOptions . css . theadFixed }` , style } , props , childComponents . filterRowCell ) ; return ( < td { ... elementAttributes } > { content ? content : ( < FilterRowDataType { ... props } / > ) } < /td>); } ; export default FilterCell ;