azure-devops-ui
Version:
React components for building web UI in Azure DevOps
1 lines • 749 B
JavaScript
import"../../CommonImports";import"../../Core/core.css";import"./IdentityCard.css";import*as React from"react";import{Icon}from"../../Icon";import{Link}from"../../Link";const CardContactLine=e=>React.createElement("div",{className:"bolt-identity-default-card-contact-line-wrapper flex-row"},React.createElement(Icon,{iconName:e.iconName,className:"bolt-identity-default-card-contact-line-label font-size"}),e.link&&React.createElement(Link,{className:"flex-row word-wrap",href:e.link,removeUnderline:!0},e.hiddenLabel&&React.createElement("span",{className:"screen-reader-only"},e.hiddenLabel),e.content),!e.link&&React.createElement("span",{className:"bolt-identity-default-card-contact-line-no-link word-wrap"},e.content));export{CardContactLine};