mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
34 lines
852 B
TypeScript
34 lines
852 B
TypeScript
import { Icon } from '@iconify/react';
|
|
import DataStateSkeleton from '@/components/helper/skeleton/DataStateSkeleton';
|
|
|
|
const ProductionDataClosingSkeleton = ({
|
|
title = 'Data Produksi Belum Tersedia',
|
|
subtitle = 'Tidak ada data produksi untuk periode ini.',
|
|
iconName = 'heroicons:chart-bar',
|
|
}: {
|
|
title?: string;
|
|
subtitle?: string;
|
|
iconName?: string;
|
|
}) => {
|
|
return (
|
|
<div className='w-full rounded-xl p-8 shadow-sm'>
|
|
<div className='flex items-center justify-center p-12'>
|
|
<DataStateSkeleton
|
|
icon={
|
|
<Icon
|
|
icon={iconName}
|
|
className='text-white'
|
|
width={20}
|
|
height={20}
|
|
/>
|
|
}
|
|
title={title}
|
|
description={subtitle}
|
|
/>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default ProductionDataClosingSkeleton;
|