summaryrefslogtreecommitdiffhomepage
path: root/app/components/CustomScrollbars.js
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-03-10 19:25:19 +0000
committerAndrej Mihajlov <and@codeispoetry.ru>2017-03-10 19:25:19 +0000
commitd8ea9e952083e6d4d905a13729a9f8525abeb286 (patch)
treed26a4c1a0df1b6529ed27dfbbd40c9751bbbc74d /app/components/CustomScrollbars.js
parentab936cc298a81dbf0ef13e53bd03cff7f2324d13 (diff)
downloadmullvadvpn-d8ea9e952083e6d4d905a13729a9f8525abeb286.tar.xz
mullvadvpn-d8ea9e952083e6d4d905a13729a9f8525abeb286.zip
Improve docs coverage. Add external docs for React.Component and Redux.Store
Diffstat (limited to 'app/components/CustomScrollbars.js')
-rw-r--r--app/components/CustomScrollbars.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/components/CustomScrollbars.js b/app/components/CustomScrollbars.js
index 2828f14f39..20217923a7 100644
--- a/app/components/CustomScrollbars.js
+++ b/app/components/CustomScrollbars.js
@@ -1,11 +1,26 @@
import React, { Component, PropTypes } from 'react';
import { Scrollbars } from 'react-custom-scrollbars';
+/**
+ * Custom scrollbars component
+ *
+ * @export
+ * @class CustomScrollbars
+ * @extends {Component}
+ */
export default class CustomScrollbars extends Component {
+ /**
+ * PropTypes
+ * @static
+ * @memberOf CustomScrollbars
+ */
static propTypes = {
children: PropTypes.element
}
+ /**
+ * @override
+ */
render() {
return (
<Scrollbars