# getDeviceIcon

Canonical: https://docs.shumoku.dev/ja/library/api/getDeviceIcon
Language: ja

@shumoku/core · 0.4.0 · function

# getDeviceIcon

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/icons/generated-icons.ts#L60)

APIの説明は英語のcanonical sourceを表示しています。

Get SVG icon content for a device type

```
getDeviceIcon(type?: DeviceType): string | undefined
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `type` | `DeviceType` | 追加説明はありません。 | `—` |

## 戻り値

```
string | undefined
```

[`libs/@shumoku/core/src/icons/generated-icons.ts:60`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/icons/generated-icons.ts#L60)
