parent
6da224bfc4
commit
2b342bdd95
@ -0,0 +1,6 @@
|
|||||||
|
.TrackActionsCell {
|
||||||
|
composes: cell from '~Components/Table/Cells/TableRowCell.css';
|
||||||
|
|
||||||
|
width: 70px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
import PropTypes from 'prop-types';
|
||||||
|
import React, { Component } from 'react';
|
||||||
|
import { icons } from 'Helpers/Props';
|
||||||
|
import IconButton from 'Components/Link/IconButton';
|
||||||
|
import TableRowCell from 'Components/Table/Cells/TableRowCell';
|
||||||
|
import styles from './TrackActionsCell.css';
|
||||||
|
|
||||||
|
class TrackActionsCell extends Component {
|
||||||
|
|
||||||
|
//
|
||||||
|
// Render
|
||||||
|
|
||||||
|
render() {
|
||||||
|
|
||||||
|
return (
|
||||||
|
|
||||||
|
// TODO: Placeholder until we figure out what to show here.
|
||||||
|
<TableRowCell className={styles.TrackActionsCell}>
|
||||||
|
<IconButton
|
||||||
|
name={icons.DELETE}
|
||||||
|
title="Delete Track"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</TableRowCell>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
TrackActionsCell.propTypes = {
|
||||||
|
id: PropTypes.number.isRequired,
|
||||||
|
albumId: PropTypes.number.isRequired
|
||||||
|
};
|
||||||
|
|
||||||
|
export default TrackActionsCell;
|
Loading…
Reference in new issue