s-like

0.0.9 • Public • Published

Solid Opinion like module

Installing

npm install s-like

Running the tests

This project uses Jasmine and Karma to run test. There are two commands available to do that. One to run all test suites only once:

npm run test

and one to run them and watch for changes:

npm run watch-test

Usage

After installing put this component into your react code. An example for .jsx file:

import React from 'react';
import Like from "s-like"; //import new component

let { Component } = React;

export default class Item extends Component {

  render() {
    return (
      <div>
        <Like/> //and then use it
      </div>
    );
  }
}

Package Sidebar

Install

npm i s-like

Weekly Downloads

7

Version

0.0.9

License

none

Last publish

Collaborators

  • atrofimov