UNPKG

@barter/react-sdk

Version:

The Official TypeScript SDK for Barter.GG

21 lines (20 loc) 467 B
// src/comps/BarterWidget.tsx import { jsx } from "react/jsx-runtime"; function BarterWidget(props) { const { url, id, className, width, height } = props; return /* @__PURE__ */ jsx( "iframe", { allow: "accelerometer; autoplay; camera; encrypted-media; gyroscope; payment; clipboard-read; clipboard-write", id, className, src: url, width, height, style: { border: "none" } } ); } export { BarterWidget };