🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

crowdriff-story-network-gallery-react

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crowdriff-story-network-gallery-react

A Component that allows the embedding of a CrowdRiff Story Network gallery in a React app

1.0.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

CrowdRiff Story Network Gallery React

npm npm bundle size

A lightweight component that allows CrowdRiff customers to embed Story Network galleries on websites built using React.

Getting Started

These instructions will demonstrate how to install the library and implement CrowdRiff story galleries on React websites.

Required Peer Dependancies

  • react: ^16.8.0,
  • react-dom: ^16.8.0

Installation

Using npm:

npm install crowdriff-story-network-gallery-react

Usage

To embed one (or many) galleries, import the CrowdRiffStoryGallery component, and pass the galleryId as a prop.

import  React  from  'react';
import  CrowdRiffStoryGallery  from  'crowdriff-story-network-gallery-react'
export  const  Home  =  ()  =>  {

return  (
	<div>
		<CrowdRiffStoryGallery  galleryId="1234-5678"  />
		<CrowdRiffStoryGallery  galleryId="8765-4321"  />
	</div>
	);
}

Keywords

React

FAQs

Package last updated on 30 Aug 2021

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