UNPKG

@peculiar/fortify-webcomponents

Version:

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

15 lines 860 B
/*! * © Peculiar Ventures https://peculiarventures.com/ - BSD 3-Clause License */ import{h}from"./index-BA3hMeq-.js";import{T as Typography}from"./typography-BgpGT7g-.js"; /*! * © Peculiar Ventures https://peculiarventures.com/ - MIT License */ /** * @license * Copyright (c) Peculiar Ventures, LLC. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Button=function(r,o){var t;var n=r.href,a=r.class,e=r.startIcon,p=r.onClick;var u=!!n;var g=u?"a":"button";return h(g,{type:!u&&"button",href:u&&n,target:u&&"_blank",rel:u&&"noreferrer noopener",class:(t={button:true,m_no_padding:o.length===0},t[a]=Boolean(a),t),onClick:p},e,o.length>0&&h(Typography,{variant:"b3",color:"black",component:"span"},o))};export{Button as B}; //# sourceMappingURL=button-Dh0mVZGn.js.map