0.3.0 • Published 4 years ago

lib-kenzie v0.3.0

Weekly downloads
4
License
MIT
Repository
gitlab
Last release
4 years ago

New Libs

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save capstone

Usage

Rate

API

PropertyDescriptionDefault
gadingThe current value.-
color?Stars color (can be hexa).-
style?The custom style object.-
disable?If read only, unable to interact.false
onClick?Function caled wen changing value. Returns the new value-

Example

import React from 'react';

import { Rate } from 'capstone';
import 'capstone/dist/index.css';

const Example = () => {
  return (
    <Rate
      gading={5}
      color="#fe0"
      disable
      onClick={(value) => console.log(value)}
    />
  );
};

License

MIT © Capstone Group

Cassiano Augusto Carol Willian Alex Eduardo