Use React.VFC for CustomerEffortScore type instead
This commit is contained in:
parent
c967e9125f
commit
eb5d9b82fa
|
@ -36,7 +36,7 @@ type CustomerEffortScoreProps = {
|
|||
* @param {Function} props.onModalShownCallback Function to call when the modal is shown.
|
||||
* @param {Object} props.icon Icon (React component) to be shown on the notice.
|
||||
*/
|
||||
const CustomerEffortScore: React.FC< CustomerEffortScoreProps > = ( {
|
||||
const CustomerEffortScore: React.VFC< CustomerEffortScoreProps > = ( {
|
||||
recordScoreCallback,
|
||||
label,
|
||||
onNoticeShownCallback = noop,
|
||||
|
|
Loading…
Reference in New Issue