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

paxconfig

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paxconfig

Commonly used components for website

latest
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

React Color Component

Installation

npm install --save react-color-square

How To Use

First import this component where you want to use it

import ReactColorSquare from "react-color-square"

Then just renders it

<ReactColorSqaure />

Props

PropDescriptionDefault value
colorSets background colorblue
widthSets width100
heightSets height100
textSets inner textempty string

Example

import React, { Component } from "react";
import ReactColorSquare from "react-color-square";

class App extends Component {
  render() {
    return (
        <ReactColorSquare height={150} color="red" text="Hello World!" />
    );
  }
}

export default App;

FAQs

Package last updated on 06 Jul 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