import type { SampleMeta, SampleRenderProps } from '../../core';
import { TextMemoWidget } from '../TextMemoWidget';

export const sampleMeta: SampleMeta = {
  id: 'text-memo-widget',
  componentId: 'text-memo-widget',
  title: 'Text Memo Widget',
  description: '짧은 텍스트 메모를 작성하고 최근 저장본을 DB에 유지하는 위젯입니다.',
  category: 'Widgets',
  kind: 'feature',
  variantLabel: 'Memo / Notes',
  order: 28,
  features: ['feature-registry', 'imperative-handle'],
};

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