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

@carto/airship

Package Overview
Dependencies
Maintainers
17
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@carto/airship

> Airship is a components library built by CARTO

  • 1.0.0-alpha.18
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-83.33%
Maintainers
17
Weekly downloads
 
Created
Source

Airship

Airship is a components library built by CARTO

npm version CircleCI

Installation

Airship is available as an npm package.

# Using NPM
npm install --save @carto/airship

# Using Yarn
yarn add @carto/airship

React, ReactDOM, PropTypes and styled-components are peer dependencies, if you haven't already installed them you can use:

# Using NPM
npm install --save react react-dom prop-types styled-components

# Using Yarn
yarn add react react-dom prop-types styled-components

Usage

Import components from Airship:

//ES6 import syntax
import { Button } from '@carto/airship';

//CommonJS require syntax
const { Button } = require('@carto/airship');

Airship components are used just like any other React component. You can also customise them with props:

// Primary button
<Button>Hello there</Button>

// Secondary button
<Button secondary>General Kenobi</Button>

For a more detailed usage guide check out our documentation.

Contributing

Everyone is welcome to contribute. Please take a moment to read the contributing guidelines.

License

BSD-3-Clause, see the included LICENSE.md file.

FAQs

Package last updated on 20 Apr 2018

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