import type { SampleMeta, SampleRenderProps } from '../../core';
import { DashboardReportCardWidget } from '../DashboardReportCardWidget';
import { wmsInventoryTrendCardPreset } from '../../../data/dashboard-report-presets';

export const sampleMeta: SampleMeta = {
  id: 'wms-inventory-trend-report',
  componentId: 'dashboard-report-card',
  title: 'WMS 재고 수량 추이',
  description: '재고 수량 추이와 재고 상태 비중을 함께 보여주는 WMS 대시보드 카드입니다.',
  category: 'Widgets',
  kind: 'feature',
  variantLabel: 'WMS / 재고 추이',
  order: 21,
  features: ['docs'],
};

export function Sample({ disableWidgetCardWrapper }: SampleRenderProps) {
  return (
    <DashboardReportCardWidget
      {...wmsInventoryTrendCardPreset}
      cardWrapper={!disableWidgetCardWrapper}
    />
  );
}
