on 8d566ea help sign in
13 lines 316 B history raw
1import { sigil, reactRenderer } from 'urbit-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: size / 8,
10 colors,
11 ...rest,
12 });