@turnkey/react-wallet-kit
Version:
The easiest and most powerful way to integrate Turnkey's Embedded Wallets into your React applications.
15 lines (12 loc) • 630 B
JavaScript
;
const BUFFER_SIZE = 50; // Number of items to render outside visible area
const WALLET_BUTTON_HEIGHT = 56; // Height of each wallet button in pixels.
const ROW_GAP_PX = 8; // matches Tailwind `gap-2` on the wallet list flex container
const ROW_STRIDE = WALLET_BUTTON_HEIGHT + ROW_GAP_PX;
const INITIAL_VISIBLE_ROWS = 20; // pre-mount this many rows before first scroll
exports.BUFFER_SIZE = BUFFER_SIZE;
exports.INITIAL_VISIBLE_ROWS = INITIAL_VISIBLE_ROWS;
exports.ROW_GAP_PX = ROW_GAP_PX;
exports.ROW_STRIDE = ROW_STRIDE;
exports.WALLET_BUTTON_HEIGHT = WALLET_BUTTON_HEIGHT;
//# sourceMappingURL=constants.js.map