react-formbridge
Browse documentation
Getting startedv1.0.2

Installation

Install the scoped package, then let the package exports map resolve the web or native entrypoint automatically.

  • Web peers: react and react-dom
  • Native peers: react-native
  • In React Native TypeScript projects, add "customConditions": ["react-native"] so the IDE picks the native type surface
  • Some field renderers can rely on extra ecosystem packages in your app, such as phone or file-picker helpers, but the form API itself stays the same.
terminalbash
1npm install @runilib/react-formbridge
2# or
3yarn add @runilib/react-formbridge
4# or
5pnpm add @runilib/react-formbridge

React Native TypeScript note

If your editor still shows web-only props in a React Native app, make sure TypeScript resolves the react-native export condition.

InlineExample-1.jsonjson
1{
2 "compilerOptions": {
3 "customConditions": ["react-native"]
4 }
5}