From f99e0aba70efad0deb907d8e27f09fc9f527c8a4 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Fri, 17 Feb 2023 17:07:50 +0700
Subject: Refactor

---
 src/core/components/elements/Divider/Divider.jsx | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 src/core/components/elements/Divider/Divider.jsx

(limited to 'src/core/components/elements/Divider/Divider.jsx')

diff --git a/src/core/components/elements/Divider/Divider.jsx b/src/core/components/elements/Divider/Divider.jsx
new file mode 100644
index 00000000..355cd509
--- /dev/null
+++ b/src/core/components/elements/Divider/Divider.jsx
@@ -0,0 +1,11 @@
+const Divider = (props) => {
+  return (
+    <div className={`h-1 bg-gray_r-4 ${props.className}`} />
+  )
+}
+
+Divider.defaultProps = {
+  className: ''
+}
+
+export default Divider
\ No newline at end of file
-- 
cgit v1.2.3


From f66b12fd1d0b83af0d7230d7b1565fbe00afbe3c Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 22 Feb 2023 11:03:34 +0700
Subject: prettier

---
 src/core/components/elements/Divider/Divider.jsx | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'src/core/components/elements/Divider/Divider.jsx')

diff --git a/src/core/components/elements/Divider/Divider.jsx b/src/core/components/elements/Divider/Divider.jsx
index 355cd509..ce54a2ea 100644
--- a/src/core/components/elements/Divider/Divider.jsx
+++ b/src/core/components/elements/Divider/Divider.jsx
@@ -1,11 +1,7 @@
-const Divider = (props) => {
-  return (
-    <div className={`h-1 bg-gray_r-4 ${props.className}`} />
-  )
-}
+const Divider = (props) => <div className={`h-1 bg-gray_r-4 ${props.className}`} />
 
 Divider.defaultProps = {
   className: ''
 }
 
-export default Divider
\ No newline at end of file
+export default Divider
-- 
cgit v1.2.3

