@fto-consult/expo-ui
Version:
Bibliothèque de composants UI Expo,react-native
16 lines (15 loc) • 829 B
JavaScript
// Copyright 2023 @fto-consult/Boris Fouomene. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
import React from "react";
import {classNames} from "$cutils";
import { StyleSheet } from "react-native";
import styles from "../../styles";
function TableCellContentComponent({children,columnDef,width,testID,columnField,colSpan,style,...rest}){
return (<td data-test-id={testID||"RN_TableCellComoponent"} colSpan={colSpan} className={classNames(rest.className,"table-row-cell")} style={StyleSheet.flatten([style])}>
{children}
</td>);
}
//const TableCellContentComponent = React.memo(TableCellContentComponent);;
export default TableCellContentComponent;
TableCellContentComponent.displayName = "TableCellContentComponent";