UNPKG

@privy-io/react-auth

Version:

React client for the Privy Auth API

19 lines (16 loc) 518 B
import{styled as r,css as o}from"styled-components";const e=o` && { border-width: 1px; padding: 0.5rem 1rem; } width: 100%; text-align: left; border: solid 1px var(--privy-color-foreground-4); border-radius: var(--privy-border-radius-md); display: flex; justify-content: space-between; align-items: center; ${r=>"error"===r.$state?"\n border-color: var(--privy-color-error);\n background: var(--privy-color-error-bg);\n ":""} `,d=r.div` ${e} `;export{d as B,e as a};