18 lines
517 B
JavaScript
18 lines
517 B
JavaScript
import { PureComponent } from 'react';
|
|
import PicturesDialog from '../PicturesDialog';
|
|
|
|
/**
|
|
* Article photos dialog wrapping the unified PicturesDialog.
|
|
* Allows multiple photos with reordering, edit in chat, clipboard paste, upload, search, and delete.
|
|
*
|
|
* Props: open, article, onClose, onArticleUpdated
|
|
*/
|
|
// #region component
|
|
export default class ArticlePhotosDialog extends PureComponent {
|
|
render() {
|
|
return <PicturesDialog {...this.props} single={false} entityType="article" />;
|
|
}
|
|
}
|
|
// #endregion
|
|
|