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

export const sampleMeta: SampleMeta = {
  id: 'tms-delivery-flow-report',
  componentId: 'dashboard-report-card',
  title: 'TMS 배송 진행 현황',
  description: '배송 진행 상태와 배송 건수 추이를 함께 보여주는 TMS 대시보드 카드입니다.',
  category: 'Widgets',
  kind: 'feature',
  variantLabel: 'TMS / 진행 현황',
  order: 22,
  features: ['docs'],
};

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