Props that your field component should accept (excluding the injected ones).
The value accessor uses a method declaration so that TypeScript checks it
bivariantly. This lets callers pass (c: MyCommand) => c.name even when
the generic defaults to unknown, while still providing full type safety
when an explicit type argument is supplied:
Props that your field component should accept (excluding the injected ones).
The value accessor uses a method declaration so that TypeScript checks it bivariantly. This lets callers pass
(c: MyCommand) => c.nameeven when the generic defaults tounknown, while still providing full type safety when an explicit type argument is supplied:<MyField value={c => c.name} />