Skip to content
Snippets Groups Projects
Commit 38e31974 authored by Tina Quach's avatar Tina Quach
Browse files

enable tabbing to library item buttons

parent d9127471
Branches
Tags
No related merge requests found
......@@ -46,8 +46,10 @@ class LibraryItem extends React.PureComponent {
</div>
</div>
) : (
<Box
<div
className={styles.libraryItem}
role="button"
tabIndex="0"
onClick={this.handleClick}
onMouseEnter={this.handleMouseEnter}
onMouseLeave={this.handleMouseLeave}
......@@ -62,7 +64,7 @@ class LibraryItem extends React.PureComponent {
</Box>
</Box>
<span className={styles.libraryItemName}>{this.props.name}</span>
</Box>
</div>
);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment