mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
22 lines
442 B
TypeScript
22 lines
442 B
TypeScript
|
import React from 'react';
|
||
|
|
||
|
interface Props {
|
||
|
onClick: () => void;
|
||
|
}
|
||
|
|
||
|
export class StagedPlaceholderAttachment extends React.Component<Props> {
|
||
|
public render() {
|
||
|
const { onClick } = this.props;
|
||
|
|
||
|
return (
|
||
|
<div
|
||
|
className="module-staged-placeholder-attachment"
|
||
|
role="button"
|
||
|
onClick={onClick}
|
||
|
>
|
||
|
<div className="module-staged-placeholder-attachment__plus-icon" />
|
||
|
</div>
|
||
|
);
|
||
|
}
|
||
|
}
|