UNPKG

@turnkey/react-wallet-kit

Version:

The easiest and most powerful way to integrate Turnkey's Embedded Wallets into your React applications.

18 lines (15 loc) 757 B
import { jsxs, jsx } from 'react/jsx-runtime'; function ConnectedIndicator(props) { var _props$isPinging = props.isPinging, isPinging = _props$isPinging === void 0 ? false : _props$isPinging; return jsxs("div", { className: "flex absolute top-[-2px] right-0", children: [isPinging && jsx("div", { className: "absolute animate-ping size-[6px] bg-success-light dark:bg-success-dark rounded-full border border-modal-background-light dark:border-modal-background-dark" }), jsx("div", { className: "size-[6px] bg-success-light dark:bg-success-dark rounded-full border border-modal-background-light dark:border-modal-background-dark" })] }); } export { ConnectedIndicator }; //# sourceMappingURL=ConnectedIndicator.mjs.map