Socket
Socket
Sign inDemoInstall

@native-base/babel-plugin

Package Overview
Dependencies
2
Maintainers
11
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @native-base/babel-plugin

A babel plugin to add Build time theme resolution for Nativebase


Version published
Maintainers
11
Created

Readme

Source

@native-base/babel-plugin

Official Babel Plugin for NativeBase Build-Time theme resolution.

Installation -

Using yarn :

yarn add -D @native-base/babel-plugin

Using npm :

npm install --save-dev @native-base/babel-plugin

Usage -

Simply add this plugin in your App's babel.config.js :

module.exports = function (api) {
  api.cache(true);
  return {
    presets: [...YOUR_APP_PRESETS],
    plugins: ["@native-base/babel-plugin",...YOUR_OTHER_PLUGINS],
  };
};

To setup the Development environment -

  • clone this Repo
  • yarn or npm install
  • cd example && yarn && cd .. or cd example && npm install && cd ..
  • yarn dev:web or npm run dev:web to run the example app make your changes in index.js.

FAQs

Last updated on 27 Jul 2022

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc