From 0ca62faf89775496320025c170c942b2cb3e1a20 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Sat, 8 Apr 2023 10:12:31 +0700
Subject: update theme color

---
 src/core/components/elements/Badge/Badge.jsx | 29 ----------------------------
 1 file changed, 29 deletions(-)
 delete mode 100644 src/core/components/elements/Badge/Badge.jsx

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

diff --git a/src/core/components/elements/Badge/Badge.jsx b/src/core/components/elements/Badge/Badge.jsx
deleted file mode 100644
index e50cdc78..00000000
--- a/src/core/components/elements/Badge/Badge.jsx
+++ /dev/null
@@ -1,29 +0,0 @@
-const Badge = ({ children, type, ...props }) => {
-  return (
-    <div
-      {...props}
-      className={`${badgeStyle(type)} ${props?.className}`}
-    >
-      {children}
-    </div>
-  )
-}
-
-Badge.defaultProps = {
-  className: ''
-}
-
-const badgeStyle = (type) => {
-  let className = ['rounded px-1 text-[11px]']
-  switch (type) {
-    case 'solid-red':
-      className.push('bg-red_r-11 text-white')
-      break
-    case 'light':
-      className.push('bg-gray_r-4 text-gray_r-11')
-      break
-  }
-  return className.join(' ')
-}
-
-export default Badge
-- 
cgit v1.2.3

