import React from 'react' export type DataType = { name: string } export type PropsType = { data: DataType } export default function App({ data }: PropsType) { return (
Hello, {data.name}!
) }