@wix/design-system
Version:
@wix/design-system
27 lines • 923 B
TypeScript
export default FacesRatingBar;
/** A rating component that will enable the user to rate on a 1-5 scale. */
declare class FacesRatingBar extends React.PureComponent<any, any, any> {
constructor(props: any);
constructor(props: any, context: any);
state: {
faceHoveredIndex: number;
};
componentDidMount(): void;
_onFaceClick: (index: any) => void;
_onFaceMouseEnter: (index: any) => void;
_onFaceMouseLeave: () => void;
_onFaceFocus: (faceIndex: any, focusableProps: any) => void;
_onFaceBlur: (focusableProps: any) => void;
_shouldShowDescriptionValues: () => boolean;
render(): React.JSX.Element;
}
declare namespace FacesRatingBar {
let displayName: string;
namespace defaultProps {
let readOnly: boolean;
function onChange(): void;
let maxValue: number;
}
}
import React from 'react';
//# sourceMappingURL=FacesRatingBar.d.ts.map