"use client"

/**
 * JSON Schema Form Module
 *
 * A complete solution for generating forms from JSON Schema 7
 * Built with React JSON Schema Form (rjsf), Radix UI, and Tailwind CSS
 *
 * Features:
 * - Automatic form generation from JSON Schema
 * - Custom widgets using @djangocfg/ui components
 * - Validation with ajv8
 * - TypeScript support
 * - Responsive design
 * - Dark mode support
 *
 * @example
 * ```tsx
 * import { JsonSchemaForm } from '@/components/JsonForm';
 *
 * const schema = {
 *   type: 'object',
 *   properties: {
 *     name: { type: 'string' },
 *     age: { type: 'number' }
 *   }
 * };
 *
 * <JsonSchemaForm
 *   schema={schema}
 *   onSubmit={(data) => console.log(data)}
 * />
 * ```
 */

export { JsonSchemaForm } from './JsonSchemaForm';
export type { JsonSchemaFormProps } from './types';

// Export widgets for custom usage
export * from './widgets';

// Export templates for custom usage
export * from './templates';

// Export utilities for advanced usage
export * from './utils';
