Create Farm Button


You can place the button anywhere inside the app and on clicking the button opens up a modal with the Form inside.

Import the CreateFarm and CreateFarmButton function npm package '@cryption/dapp-factory-sdk’ as shown below

import React from "react";
import { CreateFarm, CreateFarmButton } from "@cryption/dapp-factory-sdk";

const Farm = () => {
  return (
      <CreateFarmButton />
      <CreateFarm />
export default Farm;

Last updated