1.1.21 • Published 2 years ago
@ux_bob/yv-iwc v1.1.21
@ux_bob/yv-iwc
React component for YouVisit IWC
Install
npm install --save @ux_bob/yv-iwcTest locally
Run yarn start in this folder to watch for and build changes.
cd into testing directory and run npm run start to start a react app that has the YouVisitIWC component. To view changes you'll need to yarn build in the parent folder (this folder).
Go to http://local.dev.youvisit.com:3000/ to see the IWC on a page.
Building and pushing to NPM
Usage
import React from "react";
import { YouVisitIWC } from "@ux_bob/yv-iwc";
const App = () => {
return (
<div>
<YouVisitIWC
containerWidth="100%"
containerHeight="400px"
title="IWC Title"
institution="institution-id"
location="location-id"
showCode="true or blank"
/>
</div>
);
};
export default App;License
MIT © b00y0h