Socket
Socket
Sign inDemoInstall

@draftbit/core

Package Overview
Dependencies
37
Maintainers
0
Versions
1841
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @draftbit/core

Core (non-native) Components


Version published
Weekly downloads
8.4K
increased by143.58%
Maintainers
0
Created
Weekly downloads
 

Readme

Source

@draftbit/core

This module contains web-compatible components used by @draftbit/ui.

You should look @ @draftbit/ui if you are just looking to use these components in your own projects.

This module is consumed by the ui module, which injects native dependencies and re-export the components with those dependencies included for react-native projects.

It is possible, but not advised, to directly consume components from this module in your own web projects. You will have to inject your own compatible dependencies. This is how this project is consumed internally by Draftbit to power our builder experience. See the interfaces folder to see what you'll need to implement yourself.

Contributing

If you're looking to contribute to components in @draftbit/ui this is usually the module you're looking for. Checkout @draftbit/native if you need to add a module with a native dependency. But please open a PR to discuss first. It's possible! There's just some gotcha's we should talk through before you start.

Note on Dependencies

@draftbit/native can (and should) depend on this module when composing components to create higher-order functionality, and to share interfaces. This module should never depend on @draftbit/native, directly or otherwise, as that will break non-Expo toolchains that expect to be able use @draftbit/core directly.

Keywords

FAQs

Last updated on 27 Jun 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc