<Icon
size={{default: 32, material: 40}}
icon={{default: 'ion-navicon', material: 'md-menu'}}
/>
名前 | 型 / デフォルト値 | 概要 |
---|---|---|
modifier | string | The appearance of the icon. (翻訳中) Optional. |
icon | union |
can be either a string or an object. If it is an string, it is set to an specific icon like ‘ions-navicon’. If it is an object, it represents a dictionary of the icons depending on the modifier e.g. {{default: 'ion-navicon', material: 'md-menu'}}
(翻訳中)
Optional.
|
size | union |
can be either a number or an object. If it is an number, it specifies the icon size with a number in pixels. If it is an object, it represents a dictionary of the icon sizes depending on the modifier e.g. {{default: 20, material: 18}}
(翻訳中)
Optional.
|
rotate | enum | Number of degrees to rotate the icon. Valid values are 90, 180 and 270. (翻訳中) Optional. |
fixedWidth | bool | When used in a list, you want the icons to have the same width so that they align vertically by defining this attribute. (翻訳中) Optional. |
spin | bool | Specify whether the icon should be spinning. (翻訳中) Optional. |
Onsen UIに関する質問は、Stack Overflowにてonsen-uiタグを付与してください。Onsen UIチームはあなたの問題解決をお手伝いします。
バグ報告や機能要望については、GitHub Issuesに記載をお願いいたします。
あわせて、下記の情報も参考にしてください。