mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix eslint errors
This commit is contained in:
parent
018d8d3f83
commit
8a6f33fff8
18 changed files with 48 additions and 48 deletions
|
@ -5,15 +5,15 @@ import './emby-button.scss';
|
|||
|
||||
enum IconPosition {
|
||||
RIGHT = 'RIGHT',
|
||||
LEFT = 'LEFT',
|
||||
}
|
||||
LEFT = 'LEFT'
|
||||
}
|
||||
|
||||
interface ButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>,
|
||||
HTMLButtonElement
|
||||
> {
|
||||
icon?: string;
|
||||
iconClassName?: string;
|
||||
iconPos?: string;
|
||||
> {
|
||||
icon?: string;
|
||||
iconClassName?: string;
|
||||
iconPos?: string;
|
||||
}
|
||||
|
||||
const Button: React.FC<ButtonProps> = ({
|
||||
|
|
|
@ -5,9 +5,9 @@ import './emby-button.scss';
|
|||
|
||||
interface IconButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>,
|
||||
HTMLButtonElement
|
||||
> {
|
||||
icon?: string;
|
||||
iconClassName?: string;
|
||||
> {
|
||||
icon?: string;
|
||||
iconClassName?: string;
|
||||
}
|
||||
|
||||
const IconButton: React.FC<IconButtonProps> = ({
|
||||
|
|
|
@ -8,11 +8,11 @@ import './emby-button.scss';
|
|||
|
||||
interface LinkButtonProps extends DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>,
|
||||
HTMLAnchorElement
|
||||
> {
|
||||
className?: string;
|
||||
isAutoHideEnabled?: boolean;
|
||||
href?: string;
|
||||
target?: string;
|
||||
> {
|
||||
className?: string;
|
||||
isAutoHideEnabled?: boolean;
|
||||
href?: string;
|
||||
target?: string;
|
||||
}
|
||||
|
||||
const LinkButton: React.FC<LinkButtonProps> = ({
|
||||
|
|
|
@ -2,18 +2,18 @@ import ScrollerFactory from 'lib/scroller';
|
|||
import globalize from 'lib/globalize';
|
||||
|
||||
export enum ScrollDirection {
|
||||
RIGHT = 'right',
|
||||
LEFT = 'left',
|
||||
RIGHT = 'right',
|
||||
LEFT = 'left'
|
||||
}
|
||||
|
||||
interface ScrollState {
|
||||
scrollPos: number;
|
||||
scrollPos: number;
|
||||
}
|
||||
|
||||
interface ScrollerItemSlideIntoViewProps {
|
||||
direction: ScrollDirection;
|
||||
scroller: ScrollerFactory | null;
|
||||
scrollState: ScrollState;
|
||||
direction: ScrollDirection;
|
||||
scroller: ScrollerFactory | null;
|
||||
scrollState: ScrollState;
|
||||
}
|
||||
|
||||
interface ScrollToWindowProps {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue