import React, { forwardRef } from 'react'; import { cx } from '@leafygreen-ui/emotion'; import { useTableContext } from '../TableContext'; import { cellInnerStyles, getBaseCellStyles, getCellContainerStyles, } from './Cell.styles'; import { InternalCellProps } from './Cell.types'; /** * @internal */ const InternalCellBase = forwardRef( ( { children, className, contentClassName, align, ...rest }: InternalCellProps, fwdRref, ) => { const { verticalAlignment, lgIds } = useTableContext(); return (
{children}
); }, ); InternalCellBase.displayName = 'InternalCellBase'; export default InternalCellBase;