Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@draftbit/core

Package Overview
Dependencies
Maintainers
0
Versions
1986
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@draftbit/core

Core (non-native) Components

  • 50.6.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.9K
increased by84.88%
Maintainers
0
Weekly downloads
 
Created
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

Package last updated on 15 Nov 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc