on 4b0ca21 help sign in
13 lines 312 B history raw
1import { sigil, reactRenderer } from '@tlon/sigil-js';
3export default function Sigil({ patp, size, colors, ...rest }) {
4 return sigil({
5 patp,
6 renderer: reactRenderer,
7 style: { width: '100%', height: '100%' }, // NOTE: scale to container
8 size,
9 margin: true,
10 colors,
11 ...rest,
12 });