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

ui-components-react-js

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
Package was removed
Sorry, it seems this package was removed from the registry

ui-components-react-js

Library of React UI components

unpublished
latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

ui-components-react-js

Getting started

npm i ui-components-react-js

Import component:

import Gallery from "ui-components-react-js";

Use component inside JSX:

<Gallery imageList={[]} cssProperties={{}} />

imageList takes an array of strings (images sources):

import img1 from './source/images/image1.png';
import img2 from './source/images/image2.png';
import img3 from './source/images/image3.png';
imageList={[img1, img2, img3]}

cssProperties - write css properties here. They will be applied to the gallery.

cssProperties={{
    width: '90vw',
    maxWidth: '600px',
    aspectRatio: '16 / 9',
    background: 'rgba(0, 0, 0, 0.5)',
    outline: 'transparent',
    borderRadius: '5px'
}}

Ready to use component looks like:

<Gallery
    imageList={[img1, img2, img3]}
    cssProperties={{
        width: '90vw',
        maxWidth: '600px',
        aspectRatio: '16 / 9',
        background: 'rgba(0, 0, 0, 0.5)',
        outline: 'transparent',
        borderRadius: '5px'
   }}
/>

FAQs

Package last updated on 13 Sep 2022

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