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

react-squircle

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-squircle

The easy way to make a Squircle in React Js

latest
npmnpm
Version
0.0.8
Version published
Weekly downloads
5
-58.33%
Maintainers
1
Weekly downloads
 
Created
Source

react-squircle

The easy way to make a Squircle in React Js.

Installation

$ npm install --save react-squircle

Usage

import React, { Component } from 'react';
import ReactSquircle from 'react-squircle';

<ReactSquircle
	width="100%"
	height="75px"
	fit="cover"
	imageUrl="link"
 />

Props

PropDescription
onErrorA support when the link are broken
widthThis prop affects directly the css width
heightThis prop affects directly the css height
fitThis prop affects directly the css object-fit. More info
imageUrlThe image.
classNameYour css class
onClickIf you need a onClick function, well, is right there

Credits

Ángel Cáceres - Fullstack developer

Issues

If you find a bug, please file an issue on our issue tracker on GitHub.

Keywords

  • react
  • history

FAQs

Package last updated on 08 Feb 2019

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