Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

idyll-component

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idyll-component

Extensible component to be used in idyll projects Edit

Source
npmnpm
Version
1.0.5
Version published
Weekly downloads
11
-56%
Maintainers
1
Weekly downloads
 
Created
Source

idyll-component

Extensible component to be used in idyll projects

Installation

npm install --save idyll-component

Usage

const React = require('react');
const IDLComponent = require('../idl-component');

class CustomComponent extends IDLComponent {
  constructor(props) {
    super(props);
  }

  handleClick() {
    ...
    this.updateProps({
      prop1: newProp1
    });
  }

  render() {

    return (
      <div prop1={this.props.prop1} >
        {...}
      </div>
    )
  }
}

CustomComponent.defaultProps = {
  ...
}

module.exports = CustomComponent;

Keywords

idyll

FAQs

Package last updated on 15 Mar 2017

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