iwelp
Version:
A feedback component library
21 lines (20 loc) • 757 B
TypeScript
export default FaceRating;
/**
* FaceRating component to display the rating in face icon
* @param {number} ratings - the ratings
* @param {string} className - the class name
* @param {string} ariaLabel - the aria label
* @param {string} label - the label
* @returns {React.ReactElement} - FaceRating component
*/
declare function FaceRating({ ratings, className, ariaLabel, label }: number): React.ReactElement;
declare namespace FaceRating {
namespace propTypes {
let ratings: PropTypes.Validator<number>;
let className: PropTypes.Requireable<string>;
let ariaLabel: PropTypes.Requireable<string>;
let label: PropTypes.Requireable<string>;
}
let displayName: string;
}
import PropTypes from 'prop-types';