summaryrefslogtreecommitdiff
path: root/src/core/components/elements/Badge
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-22 23:36:47 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-22 23:36:47 +0700
commitac3fdf7be9982e65d8f83a20bc487f8dd62e3bfc (patch)
tree687d984708708833999c9b83f1e74e32cf64b1c1 /src/core/components/elements/Badge
parent8cfb615556e67408d7afb6d9694b2407447085ff (diff)
fix
Diffstat (limited to 'src/core/components/elements/Badge')
-rw-r--r--src/core/components/elements/Badge/Badge.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/components/elements/Badge/Badge.jsx b/src/core/components/elements/Badge/Badge.jsx
index 5e22db1a..e50cdc78 100644
--- a/src/core/components/elements/Badge/Badge.jsx
+++ b/src/core/components/elements/Badge/Badge.jsx
@@ -1,6 +1,9 @@
const Badge = ({ children, type, ...props }) => {
return (
- <div {...props} className={`${badgeStyle(type)} ${props?.className}`}>
+ <div
+ {...props}
+ className={`${badgeStyle(type)} ${props?.className}`}
+ >
{children}
</div>
)