YO
Size: a a a
YO
PA

I

const App: FunctionComponent = () => {}IH

PA
SG
const App: React.FC<Props>I
const App: React.FC<Props>AR
I
PA
I
RB
const App: FunctionComponent = () => {}export type AppProps = {
prop1?: string;
prop2: (value: string) => void;
};
const App = ({ prop1, prop2 }: AppProps) =>I
I
export type AppProps = {
prop1?: string;
prop2: (value: string) => void;
};
const App = ({ prop1, prop2 }: AppProps) =>AR
AR
I
export type AppProps = {
prop1?: string;
prop2: (value: string) => void;
};
const App = ({ prop1, prop2 }: AppProps) =>const App: FunctionComponent<AppProps> = () => {AR
AR
I