@peculiar/fortify-webcomponents
Version:
Web-components for creating CSR or Certificate and viewing certificates list using Fortify
20 lines (19 loc) • 869 B
JavaScript
/*!
* © Peculiar Ventures https://peculiarventures.com/ - BSD 3-Clause License
*/
/**
* @license
* Copyright (c) Peculiar Ventures, LLC.
*
* This source code is licensed under the BSD 3-Clause license found in the
* LICENSE file in the root directory of this source tree.
*/
import { h } from "@stencil/core";
import { Typography } from "@peculiar/certificates-viewer";
import { getString } from "../../utils/l10n";
import { FortifyStatus } from "../fortify-status";
export const FortifyAuthorization = (props) => {
const { pin } = props;
return (h(FortifyStatus, { title: getString('authorization.title'), description: getString('authorization.description') }, pin.split('').map((char) => (h(Typography, { variant: "h5", color: "black", class: "container_status_authorization_number" }, char)))));
};
//# sourceMappingURL=fortify-authorization.js.map