Move CommentDetails to plugin-api

This commit is contained in:
Chi Vinh Le
2017-10-02 20:50:43 +07:00
parent 7d41421526
commit 075d62a32a
5 changed files with 3 additions and 3 deletions
@@ -4,3 +4,4 @@ export {default as IfSlotIsEmpty} from 'coral-framework/components/IfSlotIsEmpty
export {default as IfSlotIsNotEmpty} from 'coral-framework/components/IfSlotIsNotEmpty';
export {default as CommentAuthorName} from 'coral-framework/components/CommentAuthorName';
export {default as CommentTimestamp} from 'coral-framework/components/CommentTimestamp';
export {default as CommentDetail} from 'coral-framework/components/CommentDetail';
@@ -2,8 +2,7 @@ import React, {Component} from 'react';
import PropTypes from 'prop-types';
import styles from './FlagDetails.css';
import {t} from 'plugin-api/beta/client/services';
import CommentDetail from 'coral-admin/src/components/CommentDetail';
import {Slot, IfSlotIsNotEmpty} from 'plugin-api/beta/client/components';
import {Slot, IfSlotIsNotEmpty, CommentDetail} from 'plugin-api/beta/client/components';
class FlagDetails extends Component {
@@ -1,5 +1,5 @@
import React from 'react';
import CommentDetail from 'coral-admin/src/components/CommentDetail';
import {CommentDetail} from 'plugin-api/beta/client/components';
import {isToxic} from '../utils';
import styles from './ToxicDetail.css';
import cn from 'classnames';