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.
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
import React from 'react';
|
|
|
|
import styles from './TableRow.css';
|
|
|
|
|
|
|
|
function TableRow(props) {
|
|
|
|
const {
|
|
|
|
className,
|
|
|
|
children,
|
|
|
|
overlayContent,
|
|
|
|
...otherProps
|
|
|
|
} = props;
|
|
|
|
|
|
|
|
return (
|
|
|
|
<tr
|
|
|
|
className={className}
|
|
|
|
{...otherProps}
|
|
|
|
>
|
|
|
|
{children}
|
|
|
|
</tr>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
TableRow.propTypes = {
|
|
|
|
className: PropTypes.string.isRequired,
|
|
|
|
children: PropTypes.node,
|
|
|
|
overlayContent: PropTypes.bool
|
|
|
|
};
|
|
|
|
|
|
|
|
TableRow.defaultProps = {
|
|
|
|
className: styles.row
|
|
|
|
};
|
|
|
|
|
|
|
|
export default TableRow;
|