diff --git a/packages/simplebar-react/index.js b/packages/simplebar-react/index.js index 32bd0047..df4ea382 100644 --- a/packages/simplebar-react/index.js +++ b/packages/simplebar-react/index.js @@ -3,29 +3,25 @@ import PropTypes from 'prop-types'; import 'simplebar'; export default function SimpleBar({ children, ...options }) { - return ( -
+ return
-
+
-
- {children} -
+
{children}
-
+
-
+
-
- ); +
; } SimpleBar.propTypes = { diff --git a/packages/simplebar-vue/index.vue b/packages/simplebar-vue/index.vue index 49fa9735..b055c095 100644 --- a/packages/simplebar-vue/index.vue +++ b/packages/simplebar-vue/index.vue @@ -2,11 +2,25 @@
-
-
- +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
-
@@ -15,4 +29,4 @@ import 'simplebar'; export default { name: 'simplebar-vue' } - \ No newline at end of file +