
* Reschedule for dynamic events * Fix lint * feature/space-booking-app initial commit * added loom video and fixes for main branch * Revert previous commmit * Renames spacebookingother to spacebooking * Type and perf improvements * Updated comment * Update seed-app-store.ts Co-authored-by: zomars <zomars@me.com>
17 lines
416 B
TypeScript
17 lines
416 B
TypeScript
import useAddAppMutation from "../../_utils/useAddAppMutation";
|
|
import { InstallAppButtonProps } from "../../types";
|
|
|
|
export default function InstallAppButton(props: InstallAppButtonProps) {
|
|
const mutation = useAddAppMutation("spacebooking_other");
|
|
|
|
return (
|
|
<>
|
|
{props.render({
|
|
onClick() {
|
|
mutation.mutate("");
|
|
},
|
|
loading: mutation.isLoading,
|
|
})}
|
|
</>
|
|
);
|
|
}
|