* Get element style from the Html instance style. * @param element {Element} * @returns {Object|undefined}
({ tag })
| 68 | * @returns {Object|undefined} |
| 69 | */ |
| 70 | getElementStyle({ tag }) { |
| 71 | const { style } = this.props; |
| 72 | return _.get(style, tag, {}); |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Render HTML element as React Native component. |