import { RcIcon, RcIconProps, SvgSymbol, RcIconButton, } from '@ringcentral/juno'; import { Close } from '@ringcentral/juno-icon'; import React, { FC } from 'react'; import styles from '../styles.scss'; import { FileName } from './FileName'; type AttachmentItemActionProps = { onClick?: () => void; }; export const DeleteButton: FC = ({ onClick }) => { return ( ); }; export interface FileInfoProps { symbol: SvgSymbol; fileName: string; FileIconProps?: RcIconProps; key?: string; action?: React.ReactNode; } export const FileInfoWithAction: FC = ({ fileName, symbol, FileIconProps, action, ...rest }) => { return (
{action &&
{action}
}
); };