DocumentHub Web Components
Less is more. Now with DocumentHub React Components you can use customizable UI features right in your React Application.
How to...
Install
Run npm i documenthub-react-components
from the root of your application.
Usage
Import module via import { Article, ... } from "documenthub-react-components";
where is desirable.
React Components
Usage
<Article
catalogid="your-catalog-id",
documentid="document-id",
language="en" ,
headings="false", //optional
scrollUp="true", //optional
token="aaa.bbb.ccc"
/>
HTML Custom Tags
Create a custom HTML tag which will be automatically handled by the module.
Usage
<documenthub-article
catalogid="your-catalog-id"
documentid="document-id"
language="en"
headings="false"
scrollUp="true"
token="aaa.bbb.ccc"
></documenthub-article>