Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
);
}
}
// eslint-disable-next-line react/no-multi-comp
PickerNB.Item = createReactClass({
render() {
return ;
}
});
PickerNB.propTypes = {
...Picker.propTypes
};
const StyledPickerNB = connectStyle(
'NativeBase.PickerNB',
{},
mapPropsToStyleNames
)(PickerNB);
export { StyledPickerNB as PickerNB };
/>
);
}
}
Root.propTypes = {
...ViewPropTypes,
style: PropTypes.oneOfType([
PropTypes.object,
PropTypes.number,
PropTypes.array
])
};
const StyledRoot = connectStyle('NativeBase.Root', {}, mapPropsToStyleNames)(
Root
);
export { StyledRoot as Root };
}
});
return error;
};
H1.propTypes = {
...Text.propTypes,
children: childrenType,
style: PropTypes.oneOfType([
PropTypes.object,
PropTypes.number,
PropTypes.array
])
};
const StyledH1 = connectStyle('NativeBase.H1', {}, mapPropsToStyleNames)(H1);
export { StyledH1 as H1 };
}
}
Textarea.propTypes = {
...TextInput.propTypes,
style: PropTypes.oneOfType([
PropTypes.object,
PropTypes.number,
PropTypes.array
]),
rowSpan: PropTypes.number,
bordered: PropTypes.bool,
underline: PropTypes.bool
};
const StyledTextarea = connectStyle(
'NativeBase.Textarea',
{},
mapPropsToStyleNames
)(Textarea);
export { StyledTextarea as Textarea };
}
});
return error;
};
H2.propTypes = {
...Text.propTypes,
children: childrenType,
style: PropTypes.oneOfType([
PropTypes.object,
PropTypes.number,
PropTypes.array
])
};
const StyledH2 = connectStyle('NativeBase.H2', {}, mapPropsToStyleNames)(H2);
export { StyledH2 as H2 };
import { Picker } from 'react-native';
import { connectStyle } from 'native-base-shoutem-theme';
import mapPropsToStyleNames from '../utils/mapPropsToStyleNames';
class Item extends Component {
render() {
return (this._root = c)} {...this.props} />;
}
}
Item.propTypes = {
...Picker.Item.propTypes
};
const StyledItem = connectStyle('NativeBase.Item', {}, mapPropsToStyleNames)(
Item
);
export { StyledItem as Item };
Item.propTypes = {
...TouchableOpacity.propTypes,
style: PropTypes.oneOfType([
PropTypes.object,
PropTypes.number,
PropTypes.array
]),
inlineLabel: PropTypes.bool,
floatingLabel: PropTypes.bool,
stackedLabel: PropTypes.bool,
fixedLabel: PropTypes.bool,
success: PropTypes.bool,
error: PropTypes.bool
};
const StyledItem = connectStyle('NativeBase.Item', {}, mapPropsToStyleNames)(
Item
);
export { StyledItem as Item };
'Entypo',
'EvilIcons',
'Feather',
'FontAwesome',
'FontAwesome5',
'Foundation',
'Ionicons',
'MaterialCommunityIcons',
'MaterialIcons',
'Octicons',
'SimpleLineIcons',
'Zocial'
])
};
const StyledIconNB = connectStyle(
'NativeBase.IconNB',
{},
mapPropsToStyleNames
)(IconNB);
export { StyledIconNB as IconNB };
'Entypo',
'EvilIcons',
'Feather',
'FontAwesome',
'FontAwesome5',
'Foundation',
'Ionicons',
'MaterialCommunityIcons',
'MaterialIcons',
'Octicons',
'SimpleLineIcons',
'Zocial'
])
};
const StyledIconNB = connectStyle(
'NativeBase.IconNB',
{},
mapPropsToStyleNames
)(IconNB);
export { StyledIconNB as IconNB };