@draftbit/native
v50.5.4
Published
Draftbit UI Components that Depend on Native Components
Downloads
6,160
Readme
@draftbit/native
Draftbit components with native dependencies that are incompatable with non-expo
build systems, such as expo-av
or @expo/vector-icons
.
These components are imported / injected inside the @draftbit/ui
library so
that incompatable expo dependencies do not exist in @draftbit/core
.
Add new components with such dependecies here.
See IconButton.tsx
in core
for an
example of a 'hybrid' component API that allows a native component to be
injected for ui
and a web-compatible version be injected for web
.