UNPKG

@privy-io/react-auth

Version:

React client for the Privy Auth API

19 lines (16 loc) 537 B
"use strict";var r=require("styled-components");const e=r.css` && { 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 ":""} `,o=r.styled.div` ${e} `;exports.Box=o,exports.BoxStyles=e;