// Copyright 2018 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; import classNames from 'classnames'; import moment from 'moment'; import { formatFileSize } from '../../../util/formatFileSize'; export type Props = { // Required timestamp: number; // Optional fileName?: string; fileSize?: number; onClick?: () => void; shouldShowSeparator?: boolean; }; export function DocumentListItem({ shouldShowSeparator = true, fileName, fileSize, onClick, timestamp, }: Props): JSX.Element { return (
); }