Skip to content

Commit 1038e0a

Browse files
authored
SVG support
1 parent 1e0cd03 commit 1038e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ActionButton.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ const ActionButton = props => {
158158
);
159159
};
160160

161-
_renderButtonIcon = () => {
162-
const { icon, renderIcon, btnOutRangeTxt, buttonTextStyle, buttonText } = this.props;
161+
const _renderButtonIcon = () => {
162+
const { icon, renderIcon, btnOutRangeTxt, buttonTextStyle, buttonText } = props;
163163
if (renderIcon) return renderIcon(this.state.active);
164164
if (icon) {
165165
console.warn('react-native-action-button: The `icon` prop is deprecated! Use `renderIcon` instead.');

0 commit comments

Comments
 (0)