import React, { forwardRef } from "react";
import { StyledCell, FilenameExtensionPart, FilenameWrapper, TruncatedFilenamePart, FileInfoWrapper, FileDescription } from "./Cell.styles";
export const CellUI = /*#__PURE__*/ forwardRef(({ filenameWithoutExtension, extension, description, className, size, cellContentLeft, cellContentRight }, ref)=>{
    return /*#__PURE__*/ React.createElement(StyledCell, {
        ref: ref,
        stretching: "filled",
        size: size,
        contentLeft: cellContentLeft,
        contentRight: cellContentRight,
        className: className
    }, /*#__PURE__*/ React.createElement(FileInfoWrapper, null, /*#__PURE__*/ React.createElement(FilenameWrapper, null, /*#__PURE__*/ React.createElement(TruncatedFilenamePart, null, filenameWithoutExtension.slice(0, -1)), /*#__PURE__*/ React.createElement(FilenameExtensionPart, null, filenameWithoutExtension.at(-1), extension)), /*#__PURE__*/ React.createElement(FileDescription, null, description)));
});
