26 lines
550 B
JavaScript
26 lines
550 B
JavaScript
import PropTypes from 'prop-types';
|
|
import React from 'react';
|
|
import Link from 'Components/Link/Link';
|
|
import TableRowCell from './TableRowCell';
|
|
import styles from './TableRowCellButton.css';
|
|
|
|
function TableRowCellButton({ className, ...otherProps }) {
|
|
return (
|
|
<Link
|
|
className={className}
|
|
component={TableRowCell}
|
|
{...otherProps}
|
|
/>
|
|
);
|
|
}
|
|
|
|
TableRowCellButton.propTypes = {
|
|
className: PropTypes.string.isRequired
|
|
};
|
|
|
|
TableRowCellButton.defaultProps = {
|
|
className: styles.cell
|
|
};
|
|
|
|
export default TableRowCellButton;
|