@shumoku/core · 0.4.0 · function
resolveIcon
APIの説明は英語のcanonical sourceを表示しています。
Resolve the icon to render for a given spec. Returns the explicit `spec.icon` if any; otherwise the bundled device-type fallback; otherwise null.
resolveIcon(spec: NodeSpec | undefined): ResolvedIcon | null パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
spec | NodeSpec | undefined | 追加説明はありません。 | — |
戻り値
ResolvedIcon | null