0.0.8 • Published 6 years ago

react-squircle v0.0.8

Weekly downloads
37
License
-
Repository
-
Last release
6 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

6 years ago

0.0.7

6 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.1.0

7 years ago