SVGComponent represent SVG icon. Use this component for every SVG icon in application.
- Source:
Properties:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
context |
object | Context assigned form SVGProvider Properties
|
Methods
componentDidUpdate(prevProps) → {void}
- Source:
If src change repeat process from componentWillMount
Parameters:
| Name | Type | Description |
|---|---|---|
prevProps |
object |
Returns:
- Type
- void
render() → {view}
- Source:
Render
Returns:
- Type
- view
Type Definitions
props
- Source:
Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
src |
string | ||
className |
string | ||
onClick |
function |
<optional> |
Type:
- object