Skip to content

pantoken / formats/icons/src / getIcon

Fušla: getIcon()

getIcon(name): PantokenIcon | undefined

Behta

Gávdno ikonnu nammas.

Parametera

name

string

Gullii / Gávdnat

PantokenIcon | undefined

Exempel

ts
import { getIcon } from "@pantoken/icons";

const icon = getIcon("arrow-left");
icon?.viewBox; // "0 0 24 24"