Which way of passing props in react with typescript is considered to be a best practice. Are there any difference between the two ways of passing props, or it's only a syntax sugar.
type Props = {name: string;}
const MyComponent: React.FC<Props> = props => {...}
const MyComponent = (props: Props) => {...}