/* eslint-disable react/no-danger */ import React from 'react'; import PropTypes from 'prop-types'; import { t } from '../../locales'; import { getExploreUrl } from '../../explore/exploreUtils'; import EditableTitle from '../../components/EditableTitle'; const propTypes = { slice: PropTypes.object.isRequired, removeSlice: PropTypes.func.isRequired, updateSliceName: PropTypes.func, expandedSlices: PropTypes.object, }; const SliceCell = ({ expandedSlices, removeSlice, slice, updateSliceName }) => { const onSaveTitle = (newTitle) => { if (updateSliceName) { updateSliceName(slice.slice_id, newTitle); } }; return (
loading
); }; SliceCell.propTypes = propTypes; export default SliceCell;