I search to unsderstand the difference between this 2 functional components:
interface SquareProps {
cote: string;
text: string;
bgc: string;
}
const SquareA: React.FC<SquareProps> = (props) => {...}
and
const SquareB: = (props: SquareProps) => {...}
What is the difference between using the first solution or the second?