summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-03-25 12:24:03 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-03-25 12:24:03 +0700
commit1f20fafef46b4eecaf0dd1b91592f3214e8144d3 (patch)
treed4e2044546dde7d87a815ac7c087d0198cd92f55 /src/core
parentbc8e76f00eaa74eb0cc51b79662a53ef34a3ed67 (diff)
variant and product price
Diffstat (limited to 'src/core')
-rw-r--r--src/core/components/elements/Skeleton/PriceSkeleton.jsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/components/elements/Skeleton/PriceSkeleton.jsx b/src/core/components/elements/Skeleton/PriceSkeleton.jsx
new file mode 100644
index 00000000..0dc4c70f
--- /dev/null
+++ b/src/core/components/elements/Skeleton/PriceSkeleton.jsx
@@ -0,0 +1,9 @@
+const PriceSkeleton = () => (
+ <div role='status' className='max-w-sm rounded animate-pulse my-2'>
+ <div className='h-2.5 bg-gray_r-6 rounded-full w-3/12 mb-1'></div>
+ <div className='h-2.5 bg-gray_r-6 rounded-full w-6/12 mb-1'></div>
+ <span className='sr-only'>Loading...</span>
+ </div>
+)
+
+export default PriceSkeleton