Use React.VFC for CustomerEffortScore type instead

This commit is contained in:
Chi-Hsuan Huang 2022-05-20 14:33:59 +08:00
parent c967e9125f
commit eb5d9b82fa
1 changed files with 1 additions and 1 deletions

View File

@ -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,