New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@jobber/components-native

Package Overview
Dependencies
Maintainers
13
Versions
602
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jobber/components-native

React Native implementation of Atlantis

latest
Source
npmnpm
Version
0.101.1
Version published
Weekly downloads
1.1K
-15.31%
Maintainers
13
Weekly downloads
 
Created
Source

🔱 Jobber Atlantis Components - Mobile 📱

Atlantis is a component library designed and maintained by Jobber.

This package contains the base set of React components for Atlantis.

Installation

To install this package into your project with npm run:

npm install @jobber/components-native
# iOS Linking
cd ios
pod install

Usage

Import and render an Atlantis component:

import React from "react";
import { Icon } from "@jobber/components-native";

export function MyComponent() {
  return <Icon />;
}

Setting up with Jest

In order to make @jobber/components-native work with Jest, you may need to make Jest transpile the package by adding "/node_modules/@jobber/components-native" to transformIgnorePatterns in you Jest config.

transformIgnorePatterns: [
  "node_modules/@jobber/components-native",
],

Also update the Jest config as to include the jestSetup.js

setupFiles: [
    ...
    "./node_modules/@jobber/components-native/jestSetup.js",
    ...
  ],

You will also need to create a mock for the Form component

jest.mock("./dist/src/Form", () => {
  const { Form, AtlantisFormContext, ...Actual } =
    jest.requireActual("./dist/src/Form");
  const useConfirmBeforeBack = jest.fn(() => jest.fn());
  const useInternalFormLocalCache = jest.fn(() => ({
    setLocalCache: jest.fn(),
    removeLocalCache: jest.fn(),
  }));
  // Or
  const useConfirmBeforeBack = require("<path-to-your>/useConfirmBeforeBackHook");
  const useInternalFormLocalCache = require("<path-to-your>/useInternalFormLocalCacheHook");
  return {
    ...Actual,
    AtlantisFormContext: AtlantisFormContext,
    Form: ({ children, ...props }) => {
      return (
        <AtlantisFormContext.Provider
          value={{ useConfirmBeforeBack, useInternalFormLocalCache }}
        >
          <Form {...props}>{children}</Form>
        </AtlantisFormContext.Provider>
      );
    },
  };
});

Further Reading

More information on Atlantis can be found at https://atlantis.getjobber.com.

FAQs

Package last updated on 10 Apr 2026

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