interface AppProps { show?: boolean; onTap?: () => void; } export function App({ show = true, onTap }: AppProps) { return {show ? tap : null}; }