mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-05-05 17:46:41 +07:00
eslint fix
This commit is contained in:
parent
dfaac877fb
commit
fa4d51360b
81 changed files with 741 additions and 972 deletions
src/components/containers/Scroll
|
@ -1,7 +1,7 @@
|
|||
import React, { MouseEventHandler, useEffect, useState } from 'react';
|
||||
import * as styles from './styles.scss';
|
||||
import { Scrollbars } from 'tt-react-custom-scrollbars';
|
||||
import classNames from 'classnames';
|
||||
import * as styles from './styles.scss';
|
||||
|
||||
interface IProps {
|
||||
children: Element | React.ReactChild;
|
||||
|
@ -33,11 +33,11 @@ export const Scroll = ({
|
|||
renderTrackVertical={data => <div className={styles.track_vertical} {...data} />}
|
||||
renderThumbHorizontal={data => <div className={styles.thumb_horizontal} {...data} />}
|
||||
renderThumbVertical={data => <div className={styles.thumb_vertical} {...data} />}
|
||||
renderView = {data => <div className={styles.view} {...data} />}
|
||||
renderView={data => <div className={styles.view} {...data} />}
|
||||
hideTracksWhenNotNeeded
|
||||
universal
|
||||
ref={setRef}
|
||||
{ ...props }
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
</Scrollbars>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue