0.1.2 • Published 2 years ago

@lahaus-web-components/lhwc-documents v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Documents WebComponent - LH

Install

Yarn Install $ yarn add @lahaus-web-components/lhwc-documents

NPM Install $ npm install @lahaus-web-components/lhwc-documents -S

Git Install(Add line on package.json dependecies) $ "@lahaus-web-components/lhwc-documents": "git@github.com:la-haus/lhwc-documents.git"

Use as Component

import { 
  ContainerDocumentsListing
} from '@lahaus-web-components/lhwc-documents'

$ <ContainerDocumentsListing props={props}><ContainerDocumentsListing/>

Use as Iframe

<iframe src="https://lhwc-documents-stg.lahaus.com/<queryParams>" width="100%" height="100%" frameborder="0"></iframe>

List of PARAMS and PROPS

cdp_user_id pcp_project_code pcp_unit_detail_code checkout_reserve_uuid checkout_reserve_id source api_key

Development

In the project directory, you can run:

yarn start

Runs the app in the development mode.\ Open http://localhost:3003 to view it in the browser.

The page will reload if you make edits.\ You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.\ See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.\ It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\ Your app is ready to be deployed!

See the section about deployment for more information.