Skip to content

Add ViewProvider types and enableCustomViewProvider feature flag#30

Open
asikora-sf wants to merge 2 commits intosalesforce:devfrom
asikora-sf:stack/viewprovider/01-add-viewprovider-types-and-enablecustomviewprovider-feature-flag
Open

Add ViewProvider types and enableCustomViewProvider feature flag#30
asikora-sf wants to merge 2 commits intosalesforce:devfrom
asikora-sf:stack/viewprovider/01-add-viewprovider-types-and-enablecustomviewprovider-feature-flag

Conversation

@asikora-sf
Copy link
Contributor

Summary

  • Adds ViewProviderDelegate and ViewProviderComponentData TypeScript types for bridging native SDK view customization to React Native
  • Adds enableCustomViewProvider to FeatureFlags interface
  • Exports new types from the bridge package

Stack

PR 1/6 in the viewprovider stack. This PR adds the type foundation for subsequent native bridge and JS service PRs.

Test plan

  • TypeScript compilation passes with new types
  • No runtime changes — types only

Replace componentTypes[] + reactComponentName with a componentMap
Record<string, string> so each SDK component type maps to its own
React Native component name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants