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

@apmg/enceladus

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apmg/enceladus

A React component that takes an array of Image objects from our American Public Media's Images API and turns it into a slideshow, with some options

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

apm-enceladus

Takes an array of image objects from APM's Images API and turns it into a slideshow.

Installation

Simply run the command npm i apm-enceladus or yarn add apm-enceladus.

Usage

In files were you want to use the Image component, put import { Slideshow } from 'apm-enceladus' at the top of your file.

Available Properties

  • images: an array of JSON image objects returned from APM's Images API
  • animation: Right now you can specify two types of transitions: 'fade' or 'slide'. If you'd like to add another, look at the animations.js file in this document and the react-pose library
  • elementClass: If you want to put a custom class name on the slideshow object, this is where you put it

Styling (important!)

The /styles directory found here will only affect the styling of the slideshow in the storybook. Which can be viewed on port 9000 when you run the command npm run storybook. To actually style this slideshow, you need to style it in the parent project that is importing this component.

Keywords

FAQs

Package last updated on 27 Jun 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