UNPKG

@privy-io/react-auth

Version:

React client for the Privy Auth API

19 lines (17 loc) 856 B
import{jsxs as r,jsx as e}from"react/jsx-runtime";import o from"@heroicons/react/24/outline/InformationCircleIcon";import{styled as t}from"styled-components";const i=({children:t,theme:i})=>/*#__PURE__*/r(l,{$theme:i,children:[/*#__PURE__*/e(o,{width:"20px",height:"20px",color:"var(--privy-color-icon-muted)",strokeWidth:1.5,style:{flexShrink:0}}),/*#__PURE__*/e(n,{$theme:i,children:t})]});let l=t.div` display: flex; gap: 0.75rem; background-color: var(--privy-color-background-2); align-items: flex-start; padding: 1rem; border-radius: 0.75rem; `,n=t.div` color: ${r=>"dark"===r.$theme?"var(--privy-color-foreground-2)":"var(--privy-color-foreground)"}; flex: 1; text-align: left; /* text-sm/font-regular */ font-size: 0.875rem; font-style: normal; font-weight: 400; line-height: 1.375rem; /* 157.143% */ `;export{i as I};