Reference · The globe as an SVG string
StyleNametype
The name of a look: "line" or "thick".
Import it
import type { StyleName } from "@johnmorrisdotca/chikyu-earth";
Definition
type StyleName = keyof typeof STYLES;
Examples
import { globe, type StyleName } from "@johnmorrisdotca/chikyu-earth";
const look: StyleName = "thick";
console.log(globe({ style: look, size: 100 }).includes("stroke-width"));trueWhat it prints (run when this page was built)