Socket
Socket
Sign inDemoInstall

@gorhom/docusaurus-react-native-plugin

Package Overview
Dependencies
272
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @gorhom/docusaurus-react-native-plugin

A plugin to enable react native web and reanimated on Docusaurus.


Version published
Maintainers
1
Install size
20.0 MB
Created

Readme

Source

Docusaurus React Native Plugin

A plugin to enable React Native Web and Reanimated on Docusaurus.

Usage

Monorepo

in the file docusaurus.config.js add the following

...
plugins: [
  '@gorhom/docusaurus-react-native-plugin',
  {
    alias: {
      '{MY PACKAGE NAME}': path.resolve(
        __dirname,
        {MY PACKAGE PATH}
      ),
      'react-native-reanimated': path.resolve(
        __dirname,
        {REANIMATED PACKAGE PATH}
      ),
    },
  },
],
...

Standalone

you will need to install the following

yarn add react-native-web react-native-reanimated

then you will need to add the following in the file docusaurus.config.js

...
plugins: [
  '@gorhom/docusaurus-react-native-plugin',
  {
    alias: {
      '{MY PACKAGE NAME}': path.resolve(
        __dirname,
        {MY PACKAGE PATH}
      ),
      'react-native-reanimated': path.resolve(
        __dirname,
        'node_modules/react-native-reanimated'
      ),
    },
  },
],
...

License

MIT

FAQs

Last updated on 02 Jan 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