@privy-io/react-auth
Version:
React client for the Privy Auth API
2 lines (1 loc) • 891 B
JavaScript
import{jsxs as r,jsx as e}from"react/jsx-runtime";import o from"@heroicons/react/24/outline/ExclamationCircleIcon";import{styled as i}from"styled-components";const t=({children:i,theme:t})=>/*#__PURE__*/r(n,{$theme:t,children:[/*#__PURE__*/e(o,{width:"20px",height:"20px",color:"var(--privy-color-icon-error)",strokeWidth:2,style:{flexShrink:0}}),/*#__PURE__*/e(l,{$theme:t,children:i})]});let n=/*#__PURE__*/i.div.withConfig({displayName:"Container",componentId:"sc-34910fd1-0"})(["display:flex;gap:0.75rem;background-color:var(--privy-color-error-bg);align-items:flex-start;padding:1rem;border-radius:0.75rem;"]),l=/*#__PURE__*/i.div.withConfig({displayName:"Content",componentId:"sc-34910fd1-1"})(["color:",";font-size:1rem;font-weight:400;line-height:1.5;flex:1;text-align:left;"],(r=>"dark"===r.$theme?"var(--privy-color-foreground-2)":"var(--privy-color-foreground)"));export{t as E};