docstring_tokens stringlengths 0 76.5k | code_tokens stringlengths 75 1.81M | label_window listlengths 4 2.12k | html_url stringlengths 74 116 | file_name stringlengths 3 311 |
|---|---|---|---|---|
outlineWidth: true,
outlineStyle: true, | <mask> outline: true,
<mask> outlineOffset: true,
<mask> outlineColor: {
<mask> property: 'outlineColor',
<mask> scale: 'colors',
<mask> },
<mask> };
</s> fix: use outline for focusring to prevent layout shift </s> remove "@react-native-aria/button": "^0.2.1",
</s> add "@react-native-ar... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bbf5617aba847c3c5d96db05f71930631c105f9f | src/utils/customProps/customOutline.ts |
/**
* The CSS `outline-width` property
*/
outlineWidth?: ResponsiveValue<CSS.Property.OutlineWidth<string | number>>;
/**
* The CSS `outline-style` property
*/
outlineStyle?: ResponsiveValue<CSS.Property.OutlineStyle>; | <mask> * The CSS `outline-color` property
<mask> */
<mask> outlineColor?: ResponsiveValue<CSS.Property.OutlineColor>;
<mask> }
<mask>
<mask> export const customOutline = system(config);
</s> fix: use outline for focusring to prevent layout shift </s> remove style={
isFocusVisible /... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bbf5617aba847c3c5d96db05f71930631c105f9f | src/utils/customProps/customOutline.ts |
}},{key:'getSelectedItem',value:function getSelectedItem()
{var _this2=this;
return _lodash2.default.find(this.props.children,function(child){return child.props.value===_this2.props.selectedValue;}); | <mask> var item=_lodash2.default.find(props.children,function(child){return child.props.value===props.selectedValue;});
<mask> return _lodash2.default.get(item,'props.label');
<mask> }},{key:'renderIcon',value:function renderIcon()
<mask>
<mask> {
<mask> return _react2.default.cloneElement(this.props.iosIcon,{st... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
{var _this3=this;
var onPress=function onPress(){_this3._setModalVisible(true);}; | <mask> {
<mask> return _react2.default.cloneElement(this.props.iosIcon,{style:{fontSize:22,lineHeight:26,color:'#7a7a7a'}});
<mask> }},{key:'renderButton',value:function renderButton()
<mask>
<mask> {var _this2=this;
<mask> var onPress=function onPress(){_this2._setModalVisible(true);};
<mask> var text=this.sta... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
return this.props.renderButton({onPress:onPress,text:text,picker:this,selectedItem:this.getSelectedItem()}); | <mask> {var _this2=this;
<mask> var onPress=function onPress(){_this2._setModalVisible(true);};
<mask> var text=this.state.currentLabel?this.state.currentLabel:this.props.placeholder;
<mask> if(this.props.renderButton){
<mask> return this.props.renderButton(onPress,text,this);
<mask> }
<mask> return _react2.defa... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
onPress:onPress,__source:{fileName:_jsxFileName,lineNumber:95}}, | <mask> style:this.props.style,
<mask> dark:true,
<mask> picker:true,
<mask> transparent:true,
<mask> onPress:onPress,__source:{fileName:_jsxFileName,lineNumber:91}},
<mask>
<mask> this.state.currentLabel?
<mask> _react2.default.createElement(_Text.Text,{style:this.props.textStyle,note:this.props.note,__source:... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
_react2.default.createElement(_Text.Text,{style:this.props.textStyle,note:this.props.note,__source:{fileName:_jsxFileName,lineNumber:103}},this.state.currentLabel): | <mask> transparent:true,
<mask> onPress:onPress,__source:{fileName:_jsxFileName,lineNumber:91}},
<mask>
<mask> this.state.currentLabel?
<mask> _react2.default.createElement(_Text.Text,{style:this.props.textStyle,note:this.props.note,__source:{fileName:_jsxFileName,lineNumber:99}},this.state.currentLabel):
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
_react2.default.createElement(_Text.Text,{style:this.props.textStyle,note:true,__source:{fileName:_jsxFileName,lineNumber:105}},this.props.placeholder), | <mask>
<mask> this.state.currentLabel?
<mask> _react2.default.createElement(_Text.Text,{style:this.props.textStyle,note:this.props.note,__source:{fileName:_jsxFileName,lineNumber:99}},this.state.currentLabel):
<mask>
<mask> _react2.default.createElement(_Text.Text,{style:this.props.textStyle,note:true,__source:{... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
{var _this4=this;
return this.props.renderHeader?this.props.renderHeader(function(){return _this4._setModalVisible(false);}):_react2.default.createElement(_Header.Header,{style:this.props.headerStyle,__source:{fileName:_jsxFileName,lineNumber:112}},
_react2.default.createElement(_Left.Left,{__source:{fileName:_jsxFileN... | <mask> this.props.iosIcon===undefined?null:this.renderIcon());
<mask>
<mask> }},{key:'renderHeader',value:function renderHeader()
<mask>
<mask> {var _this3=this;
<mask> return this.props.renderHeader?this.props.renderHeader(function(){return _this3._setModalVisible(false);}):_react2.default.createElement(_Heade... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
transparent:true,onPress:function onPress(){_this4._setModalVisible(false);},__source:{fileName:_jsxFileName,lineNumber:113}},
_react2.default.createElement(_Text.Text,{__source:{fileName:_jsxFileName,lineNumber:116}},this.props.headerBackButtonText||'Back'))),
_react2.default.createElement(_Body.Body,{__source:{fileNa... | <mask> {var _this3=this;
<mask> return this.props.renderHeader?this.props.renderHeader(function(){return _this3._setModalVisible(false);}):_react2.default.createElement(_Header.Header,{style:this.props.headerStyle,__source:{fileName:_jsxFileName,lineNumber:108}},
<mask> _react2.default.createElement(_Left.Left,{__so... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
{var _this5=this; | <mask> _react2.default.createElement(_Right.Right,{__source:{fileName:_jsxFileName,lineNumber:114}}));
<mask>
<mask> }},{key:'render',value:function render()
<mask>
<mask> {var _this4=this;
<mask> return(
<mask> _react2.default.createElement(_reactNative.View,{ref:function ref(c){return _this4._root=c;},__sour... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
_react2.default.createElement(_reactNative.View,{ref:function ref(c){return _this5._root=c;},__source:{fileName:_jsxFileName,lineNumber:124}}, | <mask> }},{key:'render',value:function render()
<mask>
<mask> {var _this4=this;
<mask> return(
<mask> _react2.default.createElement(_reactNative.View,{ref:function ref(c){return _this4._root=c;},__source:{fileName:_jsxFileName,lineNumber:120}},
<mask> this.renderButton(),
<mask> _react2.default.createElement(_r... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
onRequestClose:function onRequestClose(){_this5._setModalVisible(false);},__source:{fileName:_jsxFileName,lineNumber:126}}, | <mask> supportedOrientations:this.props.supportedOrientations||null,
<mask> animationType:'slide',
<mask> transparent:false,
<mask> visible:this.state.modalVisible,
<mask> onRequestClose:function onRequestClose(){_this4._setModalVisible(false);},__source:{fileName:_jsxFileName,lineNumber:122}},
<mask>
<mask> _r... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
_react2.default.createElement(_Container.Container,{__source:{fileName:_jsxFileName,lineNumber:133}}, | <mask> transparent:false,
<mask> visible:this.state.modalVisible,
<mask> onRequestClose:function onRequestClose(){_this4._setModalVisible(false);},__source:{fileName:_jsxFileName,lineNumber:122}},
<mask>
<mask> _react2.default.createElement(_Container.Container,{__source:{fileName:_jsxFileName,lineNumber:129}},
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
_react2.default.createElement(_Content.Content,{__source:{fileName:_jsxFileName,lineNumber:135}}, | <mask> onRequestClose:function onRequestClose(){_this4._setModalVisible(false);},__source:{fileName:_jsxFileName,lineNumber:122}},
<mask>
<mask> _react2.default.createElement(_Container.Container,{__source:{fileName:_jsxFileName,lineNumber:129}},
<mask> this.renderHeader(),
<mask> _react2.default.createElement(_C... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
selected:child.props.value===_this5.props.selectedValue?true:false, | <mask> _react2.default.createElement(_List.List,{
<mask> dataArray:this.state.dataSource,
<mask> renderRow:function renderRow(child){return(
<mask> _react2.default.createElement(_ListItem.ListItem,{
<mask> selected:child.props.value===_this4.props.selectedValue?true:false,
<mask> button:true,
<mask> style:_this4... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
style:_this5.props.itemStyle, | <mask> renderRow:function renderRow(child){return(
<mask> _react2.default.createElement(_ListItem.ListItem,{
<mask> selected:child.props.value===_this4.props.selectedValue?true:false,
<mask> button:true,
<mask> style:_this4.props.itemStyle,
<mask> onPress:function onPress(){
<mask> _this4._setModalVisible(false)... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
_this5._setModalVisible(false);_this5.props.onValueChange(child.props.value);
_this5.setState({current:child.props.label});
},__source:{fileName:_jsxFileName,lineNumber:139}}, | <mask> selected:child.props.value===_this4.props.selectedValue?true:false,
<mask> button:true,
<mask> style:_this4.props.itemStyle,
<mask> onPress:function onPress(){
<mask> _this4._setModalVisible(false);_this4.props.onValueChange(child.props.value);
<mask> _this4.setState({current:child.props.label});
<mask> }... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
_react2.default.createElement(_Text.Text,{style:_this5.props.itemTextStyle,__source:{fileName:_jsxFileName,lineNumber:148}},child.props.label),
_react2.default.createElement(_Right.Right,{__source:{fileName:_jsxFileName,lineNumber:149}},
child.props.value===_this5.props.selectedValue?
_react2.default.createElement(_Rad... | <mask> _this4._setModalVisible(false);_this4.props.onValueChange(child.props.value);
<mask> _this4.setState({current:child.props.label});
<mask> },__source:{fileName:_jsxFileName,lineNumber:135}},
<mask>
<mask> _react2.default.createElement(_Text.Text,{style:_this4.props.itemTextStyle,__source:{fileName:_jsxFileN... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
_react2.default.createElement(_Radio.Radio,{selected:false,__source:{fileName:_jsxFileName,lineNumber:153}}))));},__source:{fileName:_jsxFileName,lineNumber:136}})))))); | <mask> _react2.default.createElement(_Right.Right,{__source:{fileName:_jsxFileName,lineNumber:145}},
<mask> child.props.value===_this4.props.selectedValue?
<mask> _react2.default.createElement(_Radio.Radio,{selected:true,__source:{fileName:_jsxFileName,lineNumber:147}}):
<mask>
<mask> _react2.default.createElemen... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
_react2.default.createElement(_reactNative.Picker.Item,_extends({},this.props(),{__source:{fileName:_jsxFileName,lineNumber:172}}))); | <mask> PickerNB.Item=_react2.default.createClass({displayName:'Item',
<mask>
<mask> render:function render(){
<mask> return(
<mask> _react2.default.createElement(_reactNative.Picker.Item,_extends({},this.props(),{__source:{fileName:_jsxFileName,lineNumber:168}})));
<mask>
<mask> }});
<mask>
<mask>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
PickerNB.propTypes=_extends({},_reactNative.ViewPropTypes,{ | <mask>
<mask> }});
<mask>
<mask>
<mask> PickerNB.propTypes=_extends({},_reactNative.ViewPropTypes);
<mask>
<mask>
<mask>
<mask> var StyledPickerNB=(0,_nativeBaseShoutemTheme.connectStyle)('NativeBase.PickerNB',{},_mapPropsToStyleNames2.default)(PickerNB);exports.
<mask>
</s> thumbnail square and small... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
renderButton:_react2.default.PropTypes.func}); | <mask>
<mask>
<mask> PickerNB.propTypes=_extends({},_reactNative.ViewPropTypes,{
<mask>
<mask>
<mask>
<mask> var StyledPickerNB=(0,_nativeBaseShoutemTheme.connectStyle)('NativeBase.PickerNB',{},_mapPropsToStyleNames2.default)(PickerNB);exports.
<mask>
<mask>
<mask> PickerNB=StyledPickerNB;
</s> thumbn... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | dist/src/basic/Picker.ios.js |
"main": "src/index.js", | <mask> "react-test-renderer": "^15.3.2"
<mask> },
<mask> "gitHead": "5bbeacc403ba97622703699132c55d8359344004",
<mask> "homepage": "https://github.com/GeekyAnts/NativeBase#readme",
<mask> "main": "dist/src/index.js",
<mask> "typings": "./index.d.ts",
<mask> "optionalDependencies": {},
<mask> "... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | package.json |
'.floatingLabel': {
'NativeBase.Input': {
height: 60,
top: 8, | <mask> import variable from './../variables/platform';
<mask>
<mask> export default (variables = variable) => {
<mask> const itemTheme = {
<mask> '.floatingLabel': {
<mask> 'NativeBase.Input': {
<mask> height: 60,
<mask> top: 8,
<mask> },
<mask> 'NativeBase... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
top: 8, | <mask> },
<mask> flexDirection: 'row',
<mask> },
<mask> 'NativeBase.Label': {
<mask> fontSize: variables.inputFontSize,
<mask> color: variables.inputColorPlaceholder,
<mask> paddingRight: 5,
<mask> },
<mask> 'NativeBase.Icon': {
<mask> fo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
top: 6, | <mask> color: variables.inputColorPlaceholder,
<mask> paddingRight: 5,
<mask> },
<mask> 'NativeBase.Icon': {
<mask> fontSize: 24,
<mask> paddingRight: 8,
<mask> },
<mask> 'NativeBase.IconNB': {
<mask> fontSize: 24,
<mask> paddingRight: 8,... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
},
'.fixedLabel': {
'NativeBase.Label': {
position: null,
top: null,
left: null,
right: null,
flex: 1,
height: null,
width: null,
fontSize: variables.inputFontSize,
},
'NativeBase.Input': {
flex: 2,
fontSize: varia... | <mask> 'NativeBase.Icon': {
<mask> fontSize: 24,
<mask> paddingRight: 8,
<mask> },
<mask> 'NativeBase.IconNB': {
<mask> fontSize: 24,
<mask> paddingRight: 8,
<mask> },
<mask> 'NativeBase.Input': {
<mask> height: variables.inputHeightBase,
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
alignSelf: (Platform.OS === 'ios') ? 'stretch' : 'flex-start', | <mask> fontSize: 24,
<mask> paddingRight: 8,
<mask> },
<mask> 'NativeBase.Input': {
<mask> height: variables.inputHeightBase,
<mask> color: variables.inputColor,
<mask> flex: 1,
<mask> top: (Platform.OS === 'ios') ? 1.5 : undefined,
<mask> fon... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
width: (Platform.OS === 'ios') ? null : variables.deviceWidth - 25, | <mask> 'NativeBase.Input': {
<mask> height: variables.inputHeightBase,
<mask> color: variables.inputColor,
<mask> flex: 1,
<mask> top: (Platform.OS === 'ios') ? 1.5 : undefined,
<mask> fontSize: variables.inputFontSize,
<mask> lineHeight: variables.inputLineH... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
},
flexDirection: null,
},
'.inlineLabel': {
'NativeBase.Label': {
position: null,
top: null,
left: null,
right: null,
paddingRight: 20,
height: null,
width: null,
fontSize: variables.inputFontSize,
},
'NativeBase.Inpu... | <mask> color: variables.inputColor,
<mask> flex: 1,
<mask> top: (Platform.OS === 'ios') ? 1.5 : undefined,
<mask> fontSize: variables.inputFontSize,
<mask> lineHeight: variables.inputLineHeight,
<mask> },
<mask> '.underline': {
<mask> 'NativeBase.Input... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
<mask> fontSize: variables.inputFontSize,
<mask> lineHeight: variables.inputLineHeight,
<mask> },
<mask> '.underline': {
<mask> 'NativeBase.Input': {
<mask> paddingLeft: 15,
<mask> },
<mask> '.success': {
<mask> borderColor: variables.inpu... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js | |
borderColor: variables.inputSuccessBorderColor, | <mask> borderWidth: variables.borderWidth * 2,
<mask> borderTopWidth: 0,
<mask> borderRightWidth: 0,
<mask> borderLeftWidth: 0,
<mask> borderColor: variables.inputBorderColor,
<mask> },
<mask> '.regular': {
<mask> 'NativeBase.Input': {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
borderColor: variables.inputSuccessBorderColor,
},
'.error': {
'NativeBase.Icon': {
color: variables.inputErrorBorderColor,
},
'NativeBase.IconNB': {
color: variables.inputErrorBorderColor, | <mask> borderRightWidth: 0,
<mask> borderLeftWidth: 0,
<mask> borderColor: variables.inputBorderColor,
<mask> },
<mask> '.regular': {
<mask> 'NativeBase.Input': {
<mask> paddingLeft: 8,
<mask> },
<mask> 'NativeBase.Icon': {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
<mask> borderWidth: variables.borderWidth * 2,
<mask> borderColor: variables.inputBorderColor,
<mask> },
<mask> '.rounded': {
<mask> 'NativeBase.Input': {
<mask> paddingLeft: 8,
<mask> },
<mask> 'NativeBase.Icon': {
<mask> paddingLeft: 10,... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js | |
borderColor: variables.inputErrorBorderColor, | <mask> borderColor: variables.inputErrorBorderColor,
<mask> },
<mask> borderWidth: variables.borderWidth * 2,
<mask> borderRadius: 30,
<mask> borderColor: variables.inputBorderColor,
<mask> },
<mask>
<mask> '.success': {
<mask> 'NativeBase.Icon': {... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
'.regular': {
borderColor: variables.inputErrorBorderColor, | <mask> borderWidth: variables.borderWidth * 2,
<mask> borderRadius: 30,
<mask> borderColor: variables.inputBorderColor,
<mask> },
<mask>
<mask> '.success': {
<mask> 'NativeBase.Icon': {
<mask> color: variables.inputSuccessBorderColor,
<mask> },
<m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
'.underline': {
borderWidth: variables.borderWidth * 2,
borderTopWidth: 0,
borderRightWidth: 0,
borderLeftWidth: 0, | <mask> borderColor: variables.inputSuccessBorderColor,
<mask> },
<mask> borderColor: variables.inputSuccessBorderColor,
<mask> },
<mask>
<mask> '.error': {
<mask> 'NativeBase.Icon': {
<mask> color: variables.inputErrorBorderColor,
<mask> },
<mas... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
borderColor: variables.inputErrorBorderColor,
},
'.disabled': {
'NativeBase.Icon': {
color: '#384850',
},
'NativeBase.IconNB': {
color: '#384850', | <mask> borderColor: variables.inputErrorBorderColor,
<mask> },
<mask> borderColor: variables.inputErrorBorderColor,
<mask> },
<mask> '.disabled': {
<mask> 'NativeBase.Icon': {
<mask> color: '#384850',
<mask> },
<mask> 'NativeBase.IconNB': ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
}, | <mask> 'NativeBase.IconNB': {
<mask> color: '#384850',
<mask> },
<mask>
<mask> borderWidth: variables.borderWidth * 2,
<mask> borderTopWidth: 0,
<mask> borderRightWidth: 0,
<mask> borderLeftWidth: 0,
<mask> borderColor: variables.inputBorderColor,
</s> thumbnail square... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
borderWidth: variables.borderWidth * 2,
borderTopWidth: 0,
borderRightWidth: 0,
borderLeftWidth: 0,
borderColor: variables.inputBorderColor,
backgroundColor: 'transparent',
flexDirection: 'row',
alignItems: 'center',
marginLeft: 2, | <mask> color: '#384850',
<mask> },
<mask> },
<mask>
<mask> borderWidth: variables.borderWidth * 2,
<mask> borderTopWidth: 0,
<mask> borderRightWidth: 0,
<mask> borderLeftWidth: 0,
<mask> borderColor: variables.inputBorderColor,
<mask> backgroundColo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/Item.js |
'.small': {
width: 36,
height: 36,
borderRadius: 0,
},
'.large': {
width: 80,
height: 80,
borderRadius: 0,
}, | <mask> '.square': {
<mask> borderRadius: 0,
<mask> },
<mask> '.small': {
<mask> width: 36,
<mask> height: 36,
<mask> borderRadius: 18,
</s> thumbnail square and small,large combination fix </s> remove 'NativeBase.IconNB': {
fontSize: 24,
pa... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/index.js |
'.square': {
borderRadius: 0,
}, | <mask> height: 36,
<mask> borderRadius: 18,
<mask> },
<mask> '.large': {
<mask> width: 80,
<mask> height: 80,
<mask> borderRadius: 40,
<mask> '.square': {
</s> thumbnail square and small,large combination fix </s> remove 'NativeBase.IconNB': {
... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/index.js |
'.square': {
borderRadius: 0,
}, | <mask> '.large': {
<mask> width: 80,
<mask> height: 80,
<mask> borderRadius: 40,
<mask> },
<mask> width: 56,
<mask> height: 56,
<mask> borderRadius: 28,
</s> thumbnail square and small,large combination fix </s> remove top: (Platform.OS === 'ios') ?... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bc8acee71480a90767cabd575ff53a73f33a2264 | src/theme/components/index.js |
<Stack space={4} w="100%">
<Center>
<Heading>Input Variants</Heading>
</Center>
<Input
variant="outline"
placeholder="Outline"
_light={{ placeholderTextColor: 'blueGray.400' }}
_dark={{ placeholderTextColor: 'blueGray.50' }}
/>
<Input
var... | <mask> import React from 'react';
<mask> import { Input, Stack, Center, Heading, ScrollView } from 'native-base';
<mask> export const Example = () => {
<mask> return (
<mask> <ScrollView>
<mask> <Stack space={4} w="100%">
<mask> <Center>
<mask> <Heading>Input Variants</Heading>
<m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/GeekyAnts/NativeBase/commit/bce217c5539faaa8b9221c841d3937cbb8623795 | example/storybook/stories/components/primitives/Input/Variant.tsx |
import { TextArea, Stack, ScrollView } from 'native-base'; | <mask> import React from 'react';
<mask> import { TextArea, Stack } from 'native-base';
<mask>
<mask> export const Example = () => {
<mask> const Sizes = ['xs', 'sm', 'md', 'lg', 'xl', '2xl'];
<mask> return (
<mask> <Stack space={4} w="90%">
</s> fix: added scrollview in textarea sizes </s> remove ... | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bce217c5539faaa8b9221c841d3937cbb8623795 | example/storybook/stories/components/primitives/TextArea/size.tsx |
<ScrollView>
<Stack space={4} w="90%">
{Sizes.map((value) => {
return (
<TextArea
aria-label="t2"
key={value}
size={value}
placeholder={value}
_dark={{ placeholderTextColor: 'white' }}
/>
... | <mask>
<mask> export const Example = () => {
<mask> const Sizes = ['xs', 'sm', 'md', 'lg', 'xl', '2xl'];
<mask> return (
<mask> <Stack space={4} w="90%">
<mask> {Sizes.map((value) => {
<mask> return (
<mask> <TextArea
<mask> aria-label="t2"
<mask> key={... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bce217c5539faaa8b9221c841d3937cbb8623795 | example/storybook/stories/components/primitives/TextArea/size.tsx |
import { FormControl, Input, Stack } from 'native-base'; | <mask> import React from 'react';
<mask> import { FormControl, Input } from 'native-base';
<mask> import { boolean } from '@storybook/addon-knobs';
<mask>
<mask> export default function () {
<mask> return (
<mask> <FormControl
</s> fix: modal styling fix and example fixes for multiple components </s> rem... | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/composites/FormControl/Playground.tsx |
<Stack mx={4}>
<FormControl.Label _invalid={{ backgroundColor: '#FED7D7' }}>
Favorite framework
</FormControl.Label>
<Input p={2} placeholder="Is it react?" />
<FormControl.HelperText _disabled={{ backgroundColor: '#eee' }}>
We'll keep this between us.
<... | <mask> isDisabled={boolean('isDisabled', false)}
<mask> isInvalid={boolean('isInvalid', false)}
<mask> isReadOnly={boolean('isReadOnly', false)}
<mask> >
<mask> <FormControl.Label _invalid={{ backgroundColor: '#FED7D7' }}>
<mask> Favorite framework
<mask> </FormControl.L... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/composites/FormControl/Playground.tsx |
accessibilityLabel="this is a simple modal" | <mask> const [modalVisible, setModalVisible] = React.useState(false);
<mask> return (
<mask> <>
<mask> <Modal
<mask> accessibilityLabel="this is a simple form"
<mask> isOpen={modalVisible}
<mask> onClose={setModalVisible}
<mask> overlayVisible={true}
<mask> >... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/composites/Modal/Basic.tsx |
size="md" | <mask> accessibilityLabel="this is a simple modal"
<mask> isOpen={modalVisible}
<mask> onClose={setModalVisible}
<mask> overlayVisible={true}
<mask> >
<mask> <Modal.Content>
<mask> <Modal.CloseButton />
<mask> <Modal.Header _text={{ fontSize: '2x... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/composites/Modal/Basic.tsx |
<Modal.Header _text={{ fontSize: '2xl', fontWeight: 'bold' }}> | <mask> overlayVisible={true}
<mask> >
<mask> <Modal.Content>
<mask> <Modal.CloseButton />
<mask> <Modal.Header _text={{ fontSize: '4xl', fontWeight: 'bold' }}>
<mask> Hello World
<mask> </Modal.Header>
<mask> <Modal.Body>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/composites/Modal/Basic.tsx |
cupiditate expedita, ipsa delectus! | <mask> Hello World
<mask> </Modal.Header>
<mask> <Modal.Body>
<mask> Lorem ipsum dolor sit amet consectetur adipisicing elit. Quos quasi
<mask> cupiditate expedita, ipsa corporis officia totam similique delectus!
<mask> Debitis esse, ea blanditii... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/composites/Modal/Basic.tsx |
<Modal.Header _text={{ fontSize: '2xl', fontWeight: 'bold' }}> | <mask> size={size}
<mask> >
<mask> <Modal.Content>
<mask> <Modal.CloseButton />
<mask> <Modal.Header _text={{ fontSize: '4xl', fontWeight: 'bold' }}>
<mask> Hello World
<mask> </Modal.Header>
<mask> <Modal.Body>
<mask> Lorem ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/composites/Modal/Size.tsx |
<mask> </Modal.Footer>
<mask> </Modal.Content>
<mask> </Modal>
<mask> <Center>
<mask> <Button
<mask> onPress={() => handleSizeClick('xs')}
<mask> key={'xs'}
<mask> m={4}
<mask> >{`Open ${'xs'} Modal`}</Button>
<mask> <Button
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/composites/Modal/Size.tsx | |
<mask> onPress={() => handleSizeClick('lg')}
<mask> key={'lg'}
<mask> m={4}
<mask> >{`Open ${'lg'} Modal`}</Button>
<mask> <Button
<mask> onPress={() => handleSizeClick('xl')}
<mask> key={'xl'}
<mask> m={4}
<mask> >{`Open ${'xl... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/composites/Modal/Size.tsx | |
<Column h="100"> | <mask> import { Column, Box } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <Column>
<mask> <Box w="100" h={'100'} flexGrow={1} bg="green.500" />
<mask> <Box bg="blue.300" h={'100'} flexGrow={2} w="100" />
<mask> <Box flexGrow={1} w="100" h={'100'... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Column/Basic.tsx |
<Heading mb={4}>
Mobile first accessible components for React Native & Web.
</Heading> | <mask>
<mask> export default function () {
<mask> return (
<mask> <Box>
<mask> <Heading mb={4}>Modern online and offline payments for Africa</Heading>
<mask> <Text fontSize="xl">
<mask> Paystack helps businesses in Africa get paid by anyone, anywhere in the
<mask> world
<mask... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Heading/Composition.tsx |
An accessible & utility-first component library to build your design
system for all the platforms (web in beta). | <mask> return (
<mask> <Box>
<mask> <Heading mb={4}>Modern online and offline payments for Africa</Heading>
<mask> <Text fontSize="xl">
<mask> Paystack helps businesses in Africa get paid by anyone, anywhere in the
<mask> world
<mask> </Text>
<mask> <Button size="lg... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Heading/Composition.tsx |
Let's get started | <mask> Paystack helps businesses in Africa get paid by anyone, anywhere in the
<mask> world
<mask> </Text>
<mask> <Button size="lg" colorScheme="green" mt="24px">
<mask> Create a free account
<mask> </Button>
<mask> </Box>
<mask> );
<mask> }
</s> fix: modal styl... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Heading/Composition.tsx |
uri:
'https://images.pexels.com/photos/60597/dahlia-red-blossom-bloom-60597.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260', | <mask> return (
<mask> <Box size={200}>
<mask> <Image
<mask> source={{
<mask> uri: 'https://nativebase.github.io/img/native-base-icon.png',
<mask> }}
<mask> alt="NativeBase logo"
<mask> />
<mask> </Box>
<mask> );
</s> fix: modal styling fix and exampl... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Image/Basic.tsx |
uri:
'https://images.pexels.com/photos/60597/dahlia-red-blossom-bloom-60597.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260', | <mask> resizeMode={'contain'}
<mask> alt="nativebase"
<mask> borderRadius={100}
<mask> source={{
<mask> uri: 'https://nativebase.io/assets/img/front-page-icon.png',
<mask> }}
<mask> />
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple com... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Image/BorderRadius.tsx |
<HStack alignItems="center" space={2}> | <mask> import React from 'react';
<mask> import { HStack, Image } from 'native-base';
<mask> export default function () {
<mask> return (
<mask> <HStack alignItems="center">
<mask> <Image
<mask> size={12}
<mask> resizeMode="cover"
<mask> source={{
<mask> uri: 'htt... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Image/Sizes.tsx |
uri:
'https://images.pexels.com/photos/60597/dahlia-red-blossom-bloom-60597.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260', | <mask> <Image
<mask> size={12}
<mask> resizeMode="cover"
<mask> source={{
<mask> uri: 'https://nativebase.github.io/img/native-base-icon.png',
<mask> }}
<mask> alt="nativebase"
<mask> />
<mask> <Image
<mask> size={20}
</s> fix: modal... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Image/Sizes.tsx |
uri:
'https://images.pexels.com/photos/60597/dahlia-red-blossom-bloom-60597.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260', | <mask> <Image
<mask> size={20}
<mask> resizeMode="cover"
<mask> source={{
<mask> uri: 'https://nativebase.github.io/img/native-base-icon.png',
<mask> }}
<mask> alt="nativebase"
<mask> />
<mask> <Image
<mask> size={32}
</s> fix: modal... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Image/Sizes.tsx |
uri:
'https://images.pexels.com/photos/60597/dahlia-red-blossom-bloom-60597.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260', | <mask> />
<mask> <Image
<mask> size={32}
<mask> source={{
<mask> uri: 'https://nativebase.github.io/img/native-base-icon.png',
<mask> }}
<mask> alt="nativebase"
<mask> />
<mask> </HStack>
<mask> );
</s> fix: modal styling fix and example fixes... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Image/Sizes.tsx |
uri:
'https://images.pexels.com/photos/60597/dahlia-red-blossom-bloom-60597.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260', | <mask> <Box size={200}>
<mask> <Image
<mask> ref={myRef}
<mask> source={{
<mask> uri: 'https://nativebase.io/assets/img/front-page-icon.png',
<mask> }}
<mask> alt="nativebase logo"
<mask> />
<mask> </Box>
<mask> );
</s> fix: modal styling fix an... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Image/WithRef.tsx |
<Stack alignItems="center" mx={3}> | <mask> );
<mask> };
<mask> export const InputAddons = () => {
<mask> return (
<mask> <Stack space={4}>
<mask> <InputGroup>
<mask> <InputLeftAddon children={'https://'} />
<mask> <Input w="70%" placeholder="nativebase" />
<mask> <InputRightAddon children={'.io'} />
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Input/example.tsx |
<Icon name="phone" size="md" type="MaterialIcons" m={2} color="black" /> | <mask> return (
<mask> <Input
<mask> w="90%"
<mask> InputLeftElement={
<mask> <Icon name="phone" fontSize="xl" type="MaterialIcons" m={2} />
<mask> }
<mask> InputRightElement={
<mask> <Icon name="person" fontSize="xl" type="MaterialIcons" m={2} />
<mask> }
<... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Input/example.tsx |
<Icon
name="person"
size="md"
type="MaterialIcons"
m={2}
color="black"
/> | <mask> InputLeftElement={
<mask> <Icon name="phone" fontSize="xl" type="MaterialIcons" m={2} />
<mask> }
<mask> InputRightElement={
<mask> <Icon name="person" fontSize="xl" type="MaterialIcons" m={2} />
<mask> }
<mask> placeholder="Left and Right InputElement"
<mask... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Input/example.tsx |
import { Heading, Link, View, Text, Box, Center } from 'native-base'; | <mask> import React from 'react';
<mask> import { Heading, Link, View, Text, Box } from 'native-base';
<mask>
<mask> export const DefaultLink = () => {
<mask> return (
<mask> <View>
<mask> <Heading>This is default Link</Heading>
</s> fix: modal styling fix and example fixes for multiple components ... | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Link/example.tsx |
<Center> | <mask> const toggleState = () => {
<mask> setState(!state);
<mask> };
<mask> return (
<mask> <View>
<mask> <Heading>Custom onClick Functionality</Heading>
<mask> <Link onClick={toggleState} mt={4}>
<mask> Click here to toggle the color of box.
<mask> </Link>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Link/example.tsx |
<Box h="100" w="100" mt={2} bg={state ? 'orange.300' : 'blue.300'} />
</Center> | <mask> <Heading>Custom onClick Functionality</Heading>
<mask> <Link onClick={toggleState} mt={4}>
<mask> Click here to toggle the color of box.
<mask> </Link>
<mask> <Box h="100" w="100" bg={state ? 'orange.300' : 'blue.300'} />
<mask> </View>
<mask> );
<mask> };
<mask> ex... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Link/example.tsx |
<Center> | <mask> );
<mask> };
<mask> export const CompositeLink = () => {
<mask> return (
<mask> <View>
<mask> <Heading>Composite Link Example</Heading>
<mask> <Link
<mask> href="https://nativebase.io"
<mask> _hover={{ bg: 'primary.100' }}
<mask> isExternal
</s> fix: modal s... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Link/example.tsx |
<Box p={6} bg="seagreen"> | <mask> _hover={{ bg: 'primary.100' }}
<mask> isExternal
<mask> mt={4}
<mask> >
<mask> <Box my={3} p={8} bg="seagreen">
<mask> <Text color="white" fontSize={16}>
<mask> Box
<mask> </Text>
<mask> </Box>
<mask> Clicking anywher... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Link/example.tsx |
<Text px={2}>Clicking anywhere will trigger the link</Text>
<Box p={6} bg="blue.300"> | <mask> <Text color="white" fontSize={16}>
<mask> Box
<mask> </Text>
<mask> </Box>
<mask> Clicking anywhere will trigger the link
<mask> <Box my={3} p={8} bg="blue.300">
<mask> <Text color="white" fontSize={16}>
<mask> Box
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Link/example.tsx |
</Center> | <mask> Box
<mask> </Text>
<mask> </Box>
<mask> </Link>
<mask> </View>
<mask> );
<mask> };
</s> fix: modal styling fix and example fixes for multiple components </s> remove Clicking anywhere will trigger the link
<Box my={3} p={8} bg="blue.300">
</s> add... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/Link/example.tsx |
<Box w="80%"> | <mask> import { List, Heading, Box } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <Box w="50%">
<mask> <Heading fontSize={24}>Plain List</Heading>
<mask> <List spacing={2} my={2}>
<mask> <List.Item>Inferno</List.Item>
<mask> <List.Item... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/List/Basic.tsx |
<Box w="80%"> | <mask> import { List, Heading, Box } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <Box w="50%">
<mask> <Heading fontSize={24}>Ordered List</Heading>
<mask> <List.Ordered my={2} spacing={2}>
<mask> <List.Item>Inferno</List.Item>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/List/OrderedList.tsx |
<Box w="80%"> | <mask> import { List, Heading, Box } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <Box w="50%">
<mask> <Heading fontSize={24}>Styled List</Heading>
<mask> <List.Ordered
<mask> my={2}
<mask> spacing={2}
<mask> start={11}
</s> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/List/StylingList.tsx |
<Box w="80%"> | <mask> import { List, Heading, Box } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <Box w="50%">
<mask> <Heading fontSize={24}>Unordered List</Heading>
<mask> <List.Unordered my={2} spacing={2}>
<mask> <List.Item>Inferno</List.Item>
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | example/storybook/stories/components/primitives/List/UnorderedList.tsx |
<mask> import React from 'react';
<mask> import CloseButton, { ICloseButtonProps } from '../../composites/CloseButton';
<mask> import { ModalContext } from './Context';
<mask> import { useThemeProps } from '../../../hooks';
<mask>
<mask> const ModalCloseButton = (props: ICloseButtonProps) => {
<mask> const ne... | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | src/components/composites/Modal/ModalCloseButton.tsx | |
import { IconButton } from '..';
import Icon from '../../primitives/Icon';
import type { ICloseButtonProps } from 'native-base'; | <mask> import React from 'react';
<mask> import { ModalContext } from './Context';
<mask> import { useThemeProps } from '../../../hooks';
<mask>
<mask> const ModalCloseButton = (props: ICloseButtonProps) => {
<mask> const newProps = useThemeProps('ModalCloseButton', props);
<mask> const { _icon, ...rest } =... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | src/components/composites/Modal/ModalCloseButton.tsx |
const { _icon, ...rest } = newProps; | <mask> import type { ICloseButtonProps } from 'native-base';
<mask>
<mask> const ModalCloseButton = (props: ICloseButtonProps) => {
<mask> const newProps = useThemeProps('ModalCloseButton', props);
<mask> const { toggleVisible, toggleOnClose } = React.useContext(ModalContext);
<mask> return (
<mask> <... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | src/components/composites/Modal/ModalCloseButton.tsx |
<IconButton | <mask> const ModalCloseButton = (props: ICloseButtonProps) => {
<mask> const newProps = useThemeProps('ModalCloseButton', props);
<mask> const { toggleVisible, toggleOnClose } = React.useContext(ModalContext);
<mask> return (
<mask> <CloseButton
<mask> accessibilityLabel="Close dialog"
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | src/components/composites/Modal/ModalCloseButton.tsx |
icon={<Icon name="close" {..._icon} />}
{...rest} | <mask> const { toggleVisible, toggleOnClose } = React.useContext(ModalContext);
<mask> return (
<mask> <CloseButton
<mask> accessibilityLabel="Close dialog"
<mask> {...newProps}
<mask> onPress={() => {
<mask> toggleVisible(false);
<mask> toggleOnClose(false);
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | src/components/composites/Modal/ModalCloseButton.tsx |
<mask> import { mode } from '../tools';
<mask>
<mask> const sizes = {
<mask> xs: {
<mask> contentSize: {
<mask> width: '40%',
<mask> },
<mask> },
<mask> sm: {
<mask> contentSize: {
<mask> width: '48%',
<mask> },
<mask> },
</s> fix: modal styling fix and example fixes f... | [
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | src/theme/components/modal.ts | |
<mask> width: '40%',
<mask> },
<mask> },
<mask> sm: {
<mask> contentSize: {
<mask> width: '48%',
<mask> },
<mask> },
<mask> md: {
<mask> contentSize: {
<mask> width: '60%',
<mask> },
<mask> },
<mask> lg: {
</s> fix: modal styling fix and example fixes for... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | src/theme/components/modal.ts | |
md: { | <mask> contentSize: {
<mask> width: '60%',
<mask> },
<mask> },
<mask> lg: {
<mask> contentSize: {
<mask> width: '75%',
<mask> },
<mask> },
<mask> xl: {
</s> fix: modal styling fix and example fixes for multiple components </s> remove xl: {
</s> add lg: { </s> remove ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | src/theme/components/modal.ts |
lg: { | <mask> contentSize: {
<mask> width: '75%',
<mask> },
<mask> },
<mask> xl: {
<mask> contentSize: {
<mask> width: '90%',
<mask> },
<mask> },
<mask> full: {
</s> fix: modal styling fix and example fixes for multiple components </s> remove lg: {
</s> add md: { </s> remove... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | src/theme/components/modal.ts |
top: 5, | <mask> export const ModalCloseButton = {
<mask> baseStyle: {
<mask> position: 'absolute',
<mask> right: 8,
<mask> top: 6,
<mask> zIndex: 1,
<mask> },
<mask> defaultProps: {
<mask> size: 8,
<mask> },
</s> fix: modal styling fix and example fixes for multiple components </s> remove ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | src/theme/components/modal.ts |
_icon: {
size: 'sm',
color: 'black',
}, | <mask> position: 'absolute',
<mask> right: 8,
<mask> top: 5,
<mask> zIndex: 1,
<mask> },
<mask> defaultProps: {
<mask> size: 8,
<mask> },
<mask> };
</s> fix: modal styling fix and example fixes for multiple components </s> remove top: 6,
</s> add top: 5, </s> remove cont... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd3df53bf26b9c343521c4b9bdb57fe882cf84b7 | src/theme/components/modal.ts |
50% | <mask> return (
<mask> <Center>
<mask> <Heading>Indeterminate Progress</Heading>
<mask> <CircularProgress mt={6} value={50} isIndeterminate color="red.200">
<mask> <CircularProgress.Label>50%</CircularProgress.Label>
<mask> </CircularProgress>
<mask> </Center>
<mask> );
<m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd93b15408a650bdfa46a772041d091ed885f06f | example/storybook/stories/components/composites/CircularProgress/Indeterminate.tsx |
45% | <mask> return (
<mask> <Center>
<mask> <Heading>Adding label</Heading>
<mask> <CircularProgress mt={6} value={45} size={60} color="red.200">
<mask> <CircularProgress.Label>45%</CircularProgress.Label>
<mask> </CircularProgress>
<mask> </Center>
<mask> );
<mask> }
</s> fix... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd93b15408a650bdfa46a772041d091ed885f06f | example/storybook/stories/components/composites/CircularProgress/Label.tsx |
550% | <mask> min={number('Min', 100)}
<mask> size={100}
<mask> color={text('Color', 'red.200')}
<mask> >
<mask> <CircularProgress.Label>550%</CircularProgress.Label>
<mask> </CircularProgress>
<mask> </Center>
<mask> );
<mask> }
</s> fix: circularprogress remove lab... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd93b15408a650bdfa46a772041d091ed885f06f | example/storybook/stories/components/composites/CircularProgress/MinMax.tsx |
_text, | <mask> trackColor,
<mask> max,
<mask> min,
<mask> ...props
<mask> }: ICircularProgressProps,
<mask> ref: any
<mask> ) => {
<mask> const theme = useTheme();
<mask>
</s> fix: circularprogress remove label and checkbox , radio ux changes </s> remove import { default as CircularProgressMain... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd93b15408a650bdfa46a772041d091ed885f06f | src/components/composites/CircularProgress/CircularProgress.tsx |
<Box fontSize={sizeProps.height / 4} _text={_text}>
{props.children}
</Box> | <mask> borderRightColor={colorProp ? colorProp : 'blue.700'}
<mask> style={[styles.firstProgressLayer, firstProgressLayerStyle]}
<mask> />
<mask> {renderThirdLayer(value)}
<mask> <Box fontSize={sizeProps.height / 4}>{props.children}</Box>
<mask> </>
<... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd93b15408a650bdfa46a772041d091ed885f06f | src/components/composites/CircularProgress/CircularProgress.tsx |
import { default as CircularProgress } from './CircularProgress'; | <mask> import { default as CircularProgressMain } from './CircularProgress';
<mask> import type { ICircularProgressComponentType } from './types';
<mask> import Text from './../../primitives/Text';
<mask>
<mask> const CircularProgressTemp: any = CircularProgressMain;
<mask> CircularProgressTemp.Label = Text;
<m... | [
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd93b15408a650bdfa46a772041d091ed885f06f | src/components/composites/CircularProgress/index.tsx |
children?: JSX.Element | JSX.Element[] | string; | <mask>
<mask> type sizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
<mask> export type ICircularProgressProps = IBoxProps & {
<mask> style?: ViewStyle;
<mask> children?: JSX.Element | JSX.Element[];
<mask> value: number;
<mask> size?: number | sizes;
<mask> thickness?: number;
<mask> color?: stri... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd93b15408a650bdfa46a772041d091ed885f06f | src/components/composites/CircularProgress/types.ts |
_text?: ITextProps; | <mask> trackColor?: string;
<mask> isIndeterminate?: any;
<mask> max?: number;
<mask> min?: number;
<mask> };
<mask>
<mask> export type ICircularProgressComponentType = ((
<mask> props: ICircularProgressProps
<mask> ) => JSX.Element) & {
<mask> Label: React.MemoExoticComponent<(props: ITextProps)... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/bd93b15408a650bdfa46a772041d091ed885f06f | src/components/composites/CircularProgress/types.ts |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.