mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +03:00
lint
This commit is contained in:
parent
26eaef848b
commit
d6a532040e
3 changed files with 3 additions and 3 deletions
|
@ -109,7 +109,7 @@ interface IProps extends React.InputHTMLAttributes<Element> {
|
||||||
tabIndex?: number,
|
tabIndex?: number,
|
||||||
disabled?: boolean,
|
disabled?: boolean,
|
||||||
className?: string,
|
className?: string,
|
||||||
onClick(e?: React.MouseEvent<Element> | React.KeyboardEvent<Element>): void;
|
onClick?(e?: React.MouseEvent<Element> | React.KeyboardEvent<Element>): void;
|
||||||
};
|
};
|
||||||
|
|
||||||
interface IAccessibleButtonProps extends React.InputHTMLAttributes<Element> {
|
interface IAccessibleButtonProps extends React.InputHTMLAttributes<Element> {
|
||||||
|
|
|
@ -182,7 +182,7 @@ export default class RoomSublist2 extends React.Component<IProps, IState> {
|
||||||
tabIndex={tabIndex}
|
tabIndex={tabIndex}
|
||||||
className={"mx_RoomSubList_label"}
|
className={"mx_RoomSubList_label"}
|
||||||
role="treeitem"
|
role="treeitem"
|
||||||
aria-level="1"
|
aria-level={1}
|
||||||
>
|
>
|
||||||
{chevron}
|
{chevron}
|
||||||
<span>{this.props.label}</span>
|
<span>{this.props.label}</span>
|
||||||
|
|
Loading…
Reference in a new issue