@privy-io/react-auth
Version:
React client for the Privy Auth API
18 lines (16 loc) • 482 B
JavaScript
import{css as r,keyframes as o}from"styled-components";let i=o`
from, to {
background: var(--privy-color-foreground-4);
color: var(--privy-color-foreground-4);
}
50% {
background: var(--privy-color-foreground-accent);
color: var(--privy-color-foreground-accent);
}
`;const n=r`
${o=>o.$isLoading?r`
width: 35%;
animation: ${i} 2s linear infinite;
border-radius: var(--privy-border-radius-sm);
`:""}
`;export{n as L};