80d8f5f72a
This refactors `creature-symbol.tsx` so that it doesn't have to rely on awkwardly introspecting `JSX.Element` instances to do its job. Now all of that mumbo-jumbo, which is only really useful for when we want to manually construct symbols like the eye creature, is encapsulated in `creature-symbol-factory.tsx`. |
||
---|---|---|
.. | ||
__snapshots__ | ||
pages | ||
attach.test.tsx | ||
attach.tsx | ||
auto-sizing-svg.tsx | ||
bounding-box.test.ts | ||
bounding-box.ts | ||
browser-main.tsx | ||
colors.ts | ||
creature-symbol-factory.tsx | ||
creature-symbol.tsx | ||
export-svg.tsx | ||
hover-debug-helper.tsx | ||
path.ts | ||
point.test.tsx | ||
point.ts | ||
random.test.ts | ||
random.ts | ||
specs.ts | ||
svg-symbol-metadata.test.ts | ||
svg-symbol-metadata.ts | ||
svg-symbol.tsx | ||
svg-vocabulary.ts | ||
symbol-context-widget.tsx | ||
util.test.tsx | ||
util.ts | ||
visible-specs.tsx | ||
vocabulary-builder.test.ts | ||
vocabulary-builder.ts |