Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | /** * Generate a simple abacus SVG element * Uses AbacusStatic for server-side rendering (no client hooks) */ import React from 'react' import { AbacusStatic } from '@soroban/abacus-react/static' export function generateAbacusElement(value: number, columns: number) { return ( <AbacusStatic value={value} columns={columns} scaleFactor={1} showNumbers={false} frameVisible={true} /> ) } |