📜  浮动按钮反应 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:04.840000             🧑  作者: Mango

代码示例1
// Install
npm install react-floating-button


// Usage
import { FloatingButton, Item } from "react-floating-button";
import downloadIcon from "./assets/DOWNLOAD.svg";
import forwardIcon from "./assets/FORWARD.svg";
 

   {
      console.log("callback function here");
    }}
  />
   {
      console.log("callback function here");
    }}
  />
;