Fixed: Add Placeholder to tracks table for correct rendering

This commit is contained in:
Qstick 2019-04-25 21:39:17 -04:00
parent 6da224bfc4
commit 2b342bdd95
4 changed files with 53 additions and 5 deletions

View file

@ -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;