@privy-io/react-auth
Version:
React client for the Privy Auth API
18 lines (16 loc) • 504 B
JavaScript
;var r=require("styled-components");let o=r.keyframes`
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 e=r.css`
${e=>e.$isLoading?r.css`
width: 35%;
animation: ${o} 2s linear infinite;
border-radius: var(--privy-border-radius-sm);
`:""}
`;exports.LoadingSkeleton=e;