mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
Accesibility improvement - add role to tr in treeTable (#1114)
This commit is contained in:
parent
3278e1b05e
commit
b6074a9ab1
@ -31,7 +31,7 @@ export default Component => {
|
||||
cell.props.style.borderBottom = '1px solid rgba(128,128,128,0.2)'
|
||||
|
||||
return (
|
||||
<div className={`rt-tr ${rest.className}`} style={rest.style}>
|
||||
<div className={`rt-tr ${rest.className}`} role="row" style={rest.style}>
|
||||
{cell}
|
||||
</div>
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user