summaryrefslogtreecommitdiffhomepage
path: root/app/components/CustomScrollbars.android.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-07-18 15:07:37 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-08-15 17:39:38 +0200
commit71592249b2dd669b6f24f37bfb7b0f4e43b74998 (patch)
treea6097dc7e5d94d06e99c65fdfe160e824395f50c /app/components/CustomScrollbars.android.js
parente84e87f4ce5a8c242f756566cdc6fb59a45f7bea (diff)
downloadmullvadvpn-71592249b2dd669b6f24f37bfb7b0f4e43b74998.tar.xz
mullvadvpn-71592249b2dd669b6f24f37bfb7b0f4e43b74998.zip
Add workspaces
Diffstat (limited to 'app/components/CustomScrollbars.android.js')
-rw-r--r--app/components/CustomScrollbars.android.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/app/components/CustomScrollbars.android.js b/app/components/CustomScrollbars.android.js
deleted file mode 100644
index dadc462234..0000000000
--- a/app/components/CustomScrollbars.android.js
+++ /dev/null
@@ -1,33 +0,0 @@
-// @flow
-
-import * as React from 'react';
-import { View, Component } from 'reactxp';
-
-type Props = {
- autoHide: boolean,
- thumbInset: { x: number, y: number },
- children?: React.Node,
-};
-
-type State = {
- canScroll: boolean,
- showScrollIndicators: boolean,
-};
-
-export default class CustomScrollbars extends Component<Props, State> {
- static defaultProps = {
- autoHide: true,
- thumbInset: { x: 2, y: 2 },
- };
-
- state = {
- canScroll: false,
- showScrollIndicators: true,
- };
-
- render() {
- const { autoHide: _autoHide, thumbInset: _thumbInset, children, ...otherProps } = this.props;
-
- return <View {...otherProps}>{children}</View>;
- }
-}