on abbbcbc help sign in
18 lines 368 B history raw
1import { pour } from 'sigil-js';
3import ReactSVGComponents from './ReactSVGComponents';
5export default function Sigil({ patp, size, colorway, ...rest }) {
6 try {
7 // https://github.com/urbit/sigil-js/issues/31
8 return pour({
9 renderer: ReactSVGComponents,
10 patp,
11 size,
12 colorway,
13 ...rest,
14 });
15 } catch {
16 return null;
17 }