The README documents layoutDirection as ltr/rtl/locale and the wrapper already resolves locale through I18nManager, but PagerViewProps is exported directly from NativeProps, whose codegen union only allows ltr/rtl. The component therefore needs a ts-ignore for its own locale comparison and TypeScript callers cannot use the documented option. Proposed fix: expose a wrapper prop type accepting locale, keep native codegen props restricted to the two resolved directions, and remove the ignored comparison. No new runtime behavior or native enum is needed. This source audit is AI-assisted.
The README documents layoutDirection as ltr/rtl/locale and the wrapper already resolves locale through I18nManager, but PagerViewProps is exported directly from NativeProps, whose codegen union only allows ltr/rtl. The component therefore needs a ts-ignore for its own locale comparison and TypeScript callers cannot use the documented option. Proposed fix: expose a wrapper prop type accepting locale, keep native codegen props restricted to the two resolved directions, and remove the ignored comparison. No new runtime behavior or native enum is needed. This source audit is AI-assisted.