Open media gallery item in lightbox

This commit is contained in:
Daniel Gasienica 2018-04-15 02:16:39 -04:00
parent a9f7f18721
commit 0d676a65b8
5 changed files with 46 additions and 7 deletions

View file

@ -12,6 +12,7 @@ interface Props {
fileName?: string;
fileSize?: number;
i18n: (key: string, values?: Array<string>) => string;
onClick?: () => void;
timestamp: number;
}
@ -61,7 +62,7 @@ export class DocumentListItem extends React.Component<Props, {}> {
// }
return (
<div style={styles.itemContainer}>
<div style={styles.itemContainer} onClick={this.props.onClick}>
<img
src="images/file.svg"
width="48"