extended-dynamic-forms
Version:
Extended React JSON Schema Form (RJSF) v6 with custom components, widgets, templates, layouts, and form events
27 lines (25 loc) • 936 B
TypeScript
import { FC } from 'react';
import { WidgetProps } from '@rjsf/utils';
/**
* Enhanced Date Widget using Ant Design DatePicker
*
* Supports Ant Design DatePicker API properties through uiSchema options:
* - format: Date format (default: 'YYYY-MM-DD')
* - picker: Date picker type ('date', 'week', 'month', 'quarter', 'year')
* - placeholder: Input placeholder text
* - showTime: Show time picker
* - showNow: Show 'Now' button
* - showToday: Show 'Today' button
* - placement: Dropdown placement
* - size: Component size ('small', 'middle', 'large')
* - bordered: Show border
* - status: Validation status ('error', 'warning')
* - style: Custom CSS styles
* - className: Custom CSS class
* - And all other Ant Design DatePicker props
*
* Falls back to native HTML date input when readonly is true
*/
declare const EnhancedDateWidget: FC<WidgetProps>;
export default EnhancedDateWidget;
export { EnhancedDateWidget };