2026-07-23 17:55:57 +07:00
|
|
|
"use client";
|
|
|
|
|
|
|
|
|
|
import { motion } from "framer-motion";
|
|
|
|
|
|
2026-07-23 15:02:53 +07:00
|
|
|
export function NoData() {
|
|
|
|
|
return (
|
2026-07-23 17:55:57 +07:00
|
|
|
<motion.svg
|
2026-07-23 15:02:53 +07:00
|
|
|
width={200}
|
|
|
|
|
height={100}
|
|
|
|
|
viewBox="0 0 200 100"
|
|
|
|
|
role="img"
|
|
|
|
|
aria-label="No data available"
|
2026-07-23 17:55:57 +07:00
|
|
|
initial={{ opacity: 0 }}
|
|
|
|
|
animate={{ opacity: 1 }}
|
|
|
|
|
transition={{ duration: 0.4 }}
|
2026-07-23 15:02:53 +07:00
|
|
|
>
|
2026-07-23 17:55:57 +07:00
|
|
|
<motion.text
|
2026-07-23 15:02:53 +07:00
|
|
|
x={100}
|
|
|
|
|
y={50}
|
|
|
|
|
textAnchor="middle"
|
|
|
|
|
fill="#6e7681"
|
|
|
|
|
fontSize={12}
|
|
|
|
|
fontFamily="system-ui,sans-serif"
|
2026-07-23 17:55:57 +07:00
|
|
|
initial={{ opacity: 0, y: 6 }}
|
|
|
|
|
animate={{ opacity: 1, y: 0 }}
|
|
|
|
|
transition={{ duration: 0.4 }}
|
2026-07-23 15:02:53 +07:00
|
|
|
>
|
|
|
|
|
No data
|
2026-07-23 17:55:57 +07:00
|
|
|
</motion.text>
|
|
|
|
|
</motion.svg>
|
2026-07-23 15:02:53 +07:00
|
|
|
);
|
|
|
|
|
}
|