Keyboard shortcuts and accessibility
This commit is contained in:
parent
8590a047c7
commit
20a892247f
87 changed files with 3652 additions and 711 deletions
|
@ -42,9 +42,8 @@ export class DocumentListItem extends React.Component<Props> {
|
|||
const { fileName, fileSize, timestamp } = this.props;
|
||||
|
||||
return (
|
||||
<div
|
||||
<button
|
||||
className="module-document-list-item__content"
|
||||
role="button"
|
||||
onClick={this.props.onClick}
|
||||
>
|
||||
<div className="module-document-list-item__icon" />
|
||||
|
@ -59,7 +58,7 @@ export class DocumentListItem extends React.Component<Props> {
|
|||
<div className="module-document-list-item__date">
|
||||
{moment(timestamp).format('ddd, MMM D, Y')}
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue