import { z } from "zod"; import { SetAppDataGeneric } from "@calcom/app-store/EventTypeAppContext"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { SUPPORTED_CHAINS_FOR_FORM } from "@calcom/rainbow/utils/ethereum"; import Select from "@calcom/ui/v2/core/form/select"; import { appDataSchema } from "../zod"; type RainbowInstallFormProps = { setAppData: SetAppDataGeneric; } & Pick, "smartContractAddress" | "blockchainId">; const RainbowInstallForm: React.FC = ({ setAppData, blockchainId, smartContractAddress, }) => { const { t } = useLocale(); return ( <>
{ setAppData("smartContractAddress", e.target.value); }} />
); }; export default RainbowInstallForm;