You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
640 B
TypeScript
29 lines
640 B
TypeScript
import styled, { ThemeContext } from 'styled-components';
|
|
import React, { useContext } from 'react';
|
|
import {
|
|
SessionIcon,
|
|
SessionIconSize,
|
|
SessionIconType,
|
|
} from '../../session/icon';
|
|
|
|
export const MetadataSpacer = styled.span`
|
|
flex-grow: 1;
|
|
`;
|
|
|
|
const MessageReadReceiptContainer = styled.div`
|
|
margin-inline-start: 5px;
|
|
`;
|
|
|
|
export const MessageReadReceipt = () => {
|
|
const theme = useContext(ThemeContext);
|
|
return (
|
|
<MessageReadReceiptContainer>
|
|
<SessionIcon
|
|
iconType={SessionIconType.Check}
|
|
iconSize={SessionIconSize.Small}
|
|
theme={theme}
|
|
/>
|
|
</MessageReadReceiptContainer>
|
|
);
|
|
};
|