@peculiar/fortify-webcomponents-react

Web-components React for creating CSR or Certificate and viewing certificates list using Fortify

Usage no npm install needed!

<script type="module">
  import peculiarFortifyWebcomponentsReact from 'https://cdn.skypack.dev/@peculiar/fortify-webcomponents-react';
</script>

README

@peculiar/fortify-webcomponents-react

These are React specific building blocks on top of @peculiar/fortify-webcomponents components.

Installation

npm

npm install @peculiar/fortify-webcomponents-react

Usage

Then you can use a components anywhere in your JSX.

import React from 'react';
import ReactDOM from 'react-dom';
import { PeculiarFortifyCertificates } from '@peculiar/fortify-webcomponents-react';

ReactDOM.render(
  <PeculiarFortifyCertificates />,
  document.querySelector('#root'),
);

And add styles file to your HTML.

<link rel="stylesheet" href="https://unpkg.com/@peculiar/fortify-webcomponents@latest/dist/peculiar/peculiar.css">

Examples

Are you looking for an example project to get started? We host some.

Documentation

Check out our documentation website.