I'm currently working with NextJS and Typescript. I encountered an issue when trying to import FontAwesomeIcon like this
<FontAwesomeIcon icon={faCheck as any} />
as it triggered a warning in the console stating "Warning: FontAwesomeIcon: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead."
Any suggestions on how to address or resolve this warning would be greatly appreciated.