You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
544 B
20 lines
544 B
import React, { ReactNode } from 'react';
|
|
import Link, { LinkProps } from 'Components/Link/Link';
|
|
import TableRowCell from './TableRowCell';
|
|
import styles from './TableRowCellButton.css';
|
|
|
|
interface TableRowCellButtonProps extends LinkProps {
|
|
className?: string;
|
|
children: ReactNode;
|
|
}
|
|
|
|
function TableRowCellButton(props: TableRowCellButtonProps) {
|
|
const { className = styles.cell, ...otherProps } = props;
|
|
|
|
return (
|
|
<Link className={className} component={TableRowCell} {...otherProps} />
|
|
);
|
|
}
|
|
|
|
export default TableRowCellButton;
|