import React__default, { ReactNode } from 'react'; import { c as DialSchema, a as DialCustomRenderFn } from '../../schema-types-D9b7Dc1G.cjs'; interface DialCustomProps { schema: DialSchema; /** Render function with access to getValue/setValue context */ render?: DialCustomRenderFn; /** Direct ReactNode (no context access) */ children?: ReactNode; } /** * Custom component that renders user-provided React components * * Supports two modes: * 1. `render` function: Receives getValue/setValue context for dial integration * 2. `children`: Direct ReactNode for simple/static components * * @example * ```tsx * // Mode 1: Render function with context (recommended for dial integration) * const customRender = useMemo(() => ({ getValue, setValue }) => ( *
* Value: {getValue('myField')} * *
* ), []); * * // Mode 2: Direct ReactNode (for static or self-managed components) * const myComponent = useMemo(() => , []); * ``` */ declare const DialCustom: React__default.FC; export { DialCustom, type DialCustomProps };