components: add sigil component
commit024aa93b9bfef6266b51216571f4b9a573315915
authorMatilde Park <matilde.park@urbit.org>
dateFri 22 Apr 2022, 14:16 (5 years ago)
parent329dbd0
components/Sigil.jsnew file+16
@@ -0,0 +1,16 @@
1+import { sigil, reactRenderer } from "@tlon/sigil-js";
2+
3+export const Sigil = ({ patp, size }) => {
4+ return (
5+ <>
6+ {sigil({
7+ patp: patp,
8+ renderer: reactRenderer,
9+ size: size,
10+ colors: ["black", "white"],
11+ })}
12+ </>
13+ );
14+};
15+
16+export default Sigil;