0.0.8 • Published 5 years ago

react-squircle v0.0.8

Weekly downloads
37
License
-
Repository
-
Last release
5 years ago

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

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.1.0

6 years ago