Properties
Name | Type | Default | Description |
---|---|---|---|
Behavior | |||
ChildContent |
RenderFragment |
null | Child content of component. |
Icon |
string |
null | Icon to be used can either be svg paths for font icons. |
Title |
string |
null | Title of the icon used for accessibility. |
ViewBox |
string |
"0 0 24 24" | The viewbox size of an svg element. |
Appearance | |||
Color |
Color |
Color.Inherit | The color of the component. It supports the theme colors. |
Size |
Size |
Size.Medium | The Size of the icon. |
Common | |||
Class |
string |
null | User class names, separated by space. |
Style |
string |
null | User styles, applied on top of the component's own classes and styles. |
Tag |
object |
null | Use Tag to attach any user data object to the component for your convenience. |
UserAttributes |
Dictionary<string, object> |
UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag. | |