Skip to content

Instantly share code, notes, and snippets.

View sarvabowmen's full-sized avatar

sarvabowmen

  • EMIS Group
  • Chennai
View GitHub Profile
@sarvabowmen
sarvabowmen / RatingComponent.js
Last active April 8, 2021 17:27
Convert Rating react component as web component
import * as React from 'react';
import PropTypes from 'prop-types';
class RatingComponent extends React.Component {
static propTypes = {
maxValue: PropTypes.number,
value: PropTypes.number,
onRatingUpdatedEvt: PropTypes.func
}