Open media gallery item in lightbox
This commit is contained in:
parent
a9f7f18721
commit
0d676a65b8
5 changed files with 46 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue