Port modal / popover context.

This commit is contained in:
Paul
2021-06-19 18:46:05 +01:00
parent 5b77ed439f
commit 9706dd75f3
57 changed files with 2562 additions and 140 deletions

View File

@@ -9,10 +9,10 @@ export default function PaintCounter({ small }: { small?: boolean }) {
const count = counts[uniqueId] ?? 0;
counts[uniqueId] = count + 1;
return (
<span>
<div style={{ textAlign: 'center', fontSize: '0.8em' }}>
{ small ? <>P: { count + 1 }</> : <>
Painted {count + 1} time(s).
</> }
</span>
</div>
)
}