npm install @blokay/react
import { BlokayProvider } from "@blokay/react";
const businessId = process.env.VITE_BLOKAY_BUSINESS_ID;
render(
<BlokayProvider businessId={businessId}>
<App />
</BlokayProvider>
);
import { SignIn, SignOut, SignForm, Block } from "@blokay/react";
function View() {
return (
<div>
<SignIn>
<Block blockKey="test" />
</SignIn>
<SignOut>
<SignForm />
</SignOut>
</div>
);
}
MIT