UNPKG

extended-dynamic-forms

Version:

Extended React JSON Schema Form (RJSF) v6 with custom components, widgets, templates, layouts, and form events

21 lines (20 loc) 807 B
import { PresentationMode } from '../ChoiceWidget.types'; import { PresenterStrategy } from './PresenterStrategy'; /** * Choice Widget Presenter Strategy Exports * * This module implements the Strategy Pattern for different presentation modes * of the Choice Widget (dropdown, radio, checkbox). */ export { PresenterStrategy } from './PresenterStrategy'; export { DropdownPresenter } from './DropdownPresenter'; export { RadioPresenter } from './RadioPresenter'; export { CheckboxPresenter } from './CheckboxPresenter'; /** * Presenter factory function to create the appropriate presenter * based on the presentation mode. * * @param mode - The presentation mode * @returns The appropriate presenter instance */ export declare function createPresenter(mode: PresentationMode): PresenterStrategy;