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
break; case 'Octicons':
<mask> Icon = Foundation; <mask> break; <mask> case "MaterialIcons": <mask> Icon = MaterialIcons; <mask> break; <mask> case "Octicons": <mask> Icon = Octicons; <mask> break; <mask> case "Zocial": <mask> Icon = Zocial; <mask> break; </s> linter rule...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Icon.js
break; case 'Zocial':
<mask> Icon = MaterialIcons; <mask> break; <mask> case "Octicons": <mask> Icon = Octicons; <mask> break; <mask> case "Zocial": <mask> Icon = Zocial; <mask> break; <mask> default: <mask> Icon = Ionicons; <mask> } </s> linter rules added and textinput al...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Icon.js
break;
<mask> Icon = Octicons; <mask> break; <mask> case "Zocial": <mask> Icon = Zocial; <mask> break; <mask> default: <mask> Icon = Ionicons; <mask> } <mask> <mask> </s> linter rules added and textinput alignment fix </s> remove break; case "Zocial": </s> add ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Icon.js
return ( <View style={{ flex: 1}}> <TextInput {...this.prepareRootProps()} placeholderTextColor={ this.props.placeholderTextColor ? this.props.placeholderTextColor : this.getTheme().inputColorPlaceholder } underlineColorAndroid='rgba(0,0,0,0)' /> </View> ); }
<mask> return computeProps(this.props, defaultProps); <mask> } <mask> render() { <mask> <mask> return ( <mask> <View style={{ flex: 1}}> <mask> <TextInput {...this.prepareRootProps()} placeholderTextColor={ this.props.placeholderTextColor ? this.props.placeholderTextColor : this.getThem...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Input.js
var addedProps = _.merge(this.getInitialStyle().textInput, type);
<mask> var defaultStyle = (this.props.borderType === 'regular') ? this.getInitialStyle().bordered : (this.props.borderType === 'rounded') ? this.getInitialStyle().rounded : this.getInitialStyle().underline; <mask> <mask> type = _.merge(type, defaultStyle); <mask> <mask> var addedProps = _.merge(this.getIn...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/InputGroup.js
height: this.props.toolbar ? 30 : undefined, fontSize: this.props.toolbar ? 15 : undefined
<mask> var defaultStyle = { <mask> alignSelf: 'center', <mask> paddingRight: 5, <mask> marginLeft: (this.props.toolbar || this.props.atoolbar) ? 5 : undefined, <mask> height: 30 <mask> } <mask> <mask> var defaultProps = { <mask> style: defaultStyle, <mask> key: 'button', </s> linter ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/InputGroup.js
var inp = _.find(childrenArray, function(item) {
<mask> return true; <mask> } <mask> }); <mask> <mask> var inp = _.find(childrenArray, function(item) { <mask> if(item && item.type == Input) { <mask> return true; <mask> } <mask> }); <mask> </s> linter rules added and textinput alignment fix </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/InputGroup.js
if(inp) { inputProps = computeProps(this.props, inp.props); } else { inputProps = this.props; }
<mask> return true; <mask> } <mask> }); <mask> <mask> if(inp) <mask> inputProps = computeProps(this.props, inp.props); <mask> else <mask> inputProps = this.props; <mask> <mask> if(Array.isArray(this.props.children)) { <mask> <mask> if(this.props.iconRight) { <mask> newChildren....
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/InputGroup.js
newChildren.push(<Input key='inp' {...inputProps} />);
<mask> <mask> if(Array.isArray(this.props.children)) { <mask> <mask> if(this.props.iconRight) { <mask> newChildren.push(<Input key='inp' {...inputProps} style={{height: this.props.toolbar ? 30 : undefined, fontSize: this.props.toolbar ? 15 : undefined}}/>); <mask> newChildren.push(React.cloneElemen...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/InputGroup.js
newChildren.push(<Input key='inp' {...inputProps} />);
<mask> ...this.getIconProps(iconElement[0]), <mask> key: 'icon0' <mask> } <mask> )); <mask> newChildren.push(<Input key='inp' {...inputProps} style={{height: this.props.toolbar ? 30 : undefined, fontSize: this.props.toolbar ? 15 : undefined}}/>); <mask> newChildren.push(React.cloneEle...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/InputGroup.js
newChildren.push(<Input key='inp' {...inputProps} />);
<mask> ...this.getIconProps(iconElement[0]), <mask> key: 'icon0' <mask> } <mask> )); <mask> newChildren.push(<Input key='inp' {...inputProps} style={{height: this.props.toolbar ? 30 : undefined, fontSize: this.props.toolbar ? 15 : undefined}}/>); <mask> newChildren.push(React.cl...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/InputGroup.js
newChildren.push(<Input key='inp' {...inputProps} />);
<mask> } <mask> )); <mask> } else { <mask> newChildren.push(React.cloneElement(iconElement[0], this.getIconProps(iconElement[0]))); <mask> newChildren.push(<Input key='inp' {...inputProps} style={{height: this.props.toolbar ? 30 : undefined, fontSize: this.props.toolbar ? 15 : undefined}}/...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/InputGroup.js
newChildren.push(<Input key='inp' {...inputProps} />);
<mask> } <mask> } <mask> <mask> else { <mask> newChildren.push(<Input key='inp' {...inputProps} style={{height: this.props.toolbar ? 30 : undefined, fontSize: this.props.toolbar ? 15 : undefined}}/>); <mask> } <mask> <mask> return newChildren; <mask> } <mask> </s> linter rules added and tex...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/InputGroup.js
<mask> }); <mask> <mask> var lastElement = _.last(childrenArray); <mask> <mask> // var modLastElement = React.cloneElement(lastElement, computeProps(lastElement.props, {last: true})); <mask> <mask> return _.concat(_.slice(childrenArray, 0, childrenArray.length - 1), lastElement...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/List.js
enableEmptySections={true} dataSource={dataSource} renderRow={this.props.renderRow} />
<mask> const ds = new ListView.DataSource({rowHasChanged: (r1, r2) => r1 !== r2}); <mask> var dataSource = ds.cloneWithRows(this.props.dataArray); <mask> return ( <mask> <ListView {...this.prepareRootProps()} <mask> enableEmptySections={true}...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/List.js
else {
<mask> dataSource={dataSource} <mask> renderRow={this.props.renderRow} /> <mask> ); <mask> } <mask> else <mask> return( <mask> <View {...this.prepareRootProps()} > <mask> {this.renderChildren()} ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/List.js
{this.renderChildren()}
<mask> } <mask> else <mask> return( <mask> <View {...this.prepareRootProps()} > <mask> {this.renderChildren()} <mask> </View> <mask> ); <mask> } <mask> } </s> linter rules added and textinput alignment fix </s> re...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/List.js
}
<mask> {this.renderChildren()} <mask> </View> <mask> ); <mask> } <mask> } </s> linter rules added and textinput alignment fix </s> remove {this.renderChildren()} </s> add {this.renderChildren()} </s> remove {this....
[ "keep", "keep", "add", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/List.js
return { listItem: { borderBottomWidth: this.getTheme().borderWidth, marginLeft: 15, padding: this.inputPresent() ? 0 : this.getTheme().listItemPadding, paddingLeft: 2, justifyContent: ((this.props.iconRight && !t...
<mask> export default class ListItemNB extends NativeBaseComponent { <mask> <mask> getInitialStyle() { <mask> <mask> return { <mask> listItem: { <mask> borderBottomWidth: this.getTheme().borderWidth, <mask> marginLeft: 15, <mask> ...
[ "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/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
borderColor: this.getTheme().listBorderColor
<mask> else if(child.type == InputGroup) { <mask> <mask> defaultProps = { <mask> style: { <mask> borderColor: this.getTheme().listBorderColor <mask> }, <mask> foregroundColor: this.getContextForegroundColor() <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
defaultProps = {
<mask> } <mask> } <mask> else if(child.type == Text) { <mask> if (this.props.itemDivider) { <mask> defaultProps = { <mask> style: this.getInitialStyle().dividerItemText <mask> } <mask> } else { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
if(child.props.note && this.thumbnailPresent()) { defaultProps = { style: this.getInitialStyle().itemSubNote } } else if(child.props.note) { defaultProps = { ...
<mask> defaultProps = { <mask> style: this.getInitialStyle().dividerItemText <mask> } <mask> } else { <mask> if(child.props.note && this.thumbnailPresent()) { <mask> defaultProps = { <mask> style: ...
[ "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/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
if(this.props.itemDivider) {
<mask> <mask> prepareRootProps() { <mask> var defaultProps = {}; <mask> <mask> if(this.props.itemDivider) <mask> defaultProps = { <mask> style: this.getInitialStyle().listItemDivider <mask> }; <mask> <mask> else </s> linter rules added an...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
}; } else {
<mask> <mask> if(this.props.itemDivider) <mask> defaultProps = { <mask> style: this.getInitialStyle().listItemDivider <mask> }; <mask> <mask> else <mask> defaultProps = { <mask> style: this.getInitialStyle().listItem <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
}; }
<mask> <mask> else <mask> defaultProps = { <mask> style: this.getInitialStyle().listItem <mask> }; <mask> return computeProps(this.props, defaultProps); <mask> } <mask> <mask> <mask> notePresent() { </s> linter rules added and textinput align...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
var notePresent = false; React.Children.forEach(this.props.children, function (child) { if(child.type == Text && child.props.note) notePresent = true; }) return notePresent;
<mask> <mask> <mask> notePresent() { <mask> <mask> var notePresent = false; <mask> React.Children.forEach(this.props.children, function (child) { <mask> if(child.type == Text && child.props.note) <mask> notePresent = true; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
var insetPresent = false; React.Children.forEach(this.props.children, function (child) { if(child.type == InputGroup && child.props.inset) insetPresent = true; })
<mask> } <mask> <mask> insetPresent() { <mask> <mask> var insetPresent = false; <mask> React.Children.forEach(this.props.children, function (child) { <mask> if(child.type == InputGroup && child.props.inset) <mask> insetPresent = true; <m...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
return insetPresent;
<mask> if(child.type == InputGroup && child.props.inset) <mask> insetPresent = true; <mask> }) <mask> <mask> return insetPresent; <mask> <mask> } <mask> <mask> <mask> inlinePresent() { </s> linter rules added and textinput alignment ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
if (this.props.children.props.children.props && this.props.children.props.children.props.inlineLabel) { inlineComponentPresent = true; } else inlineComponentPresent = false;
<mask> <mask> inlinePresent() { <mask> var inlineComponentPresent = false; <mask> if (this.inputPresent()) { <mask> if (this.props.children.props.children.props && this.props.children.props.children.props.inlineLabel) { <mask> inlineComponentPresent = true; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
if (this.props.children.props.children.props && this.props.children.props.children.props.stackedLabel) { stackedComponentPresent = true; } else stackedComponentPresent = false;
<mask> <mask> stackedPresent() { <mask> var stackedComponentPresent = false; <mask> if (this.inputPresent()) { <mask> if (this.props.children.props.children.props && this.props.children.props.children.props.stackedLabel) { <mask> stackedComponentPresent = true; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
var squareThumbs = false; if (this.thumbnailPresent()) { React.Children.forEach(this.props.children, function (child) { if(child.props.square) squareThumbs = true; })
<mask> <mask> <mask> <mask> squareThumbs() { <mask> var squareThumbs = false; <mask> if (this.thumbnailPresent()) { <mask> React.Children.forEach(this.props.children, function (child) { <mask> if(child.props.square) <mask> squareT...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
} return squareThumbs;
<mask> if(child.props.square) <mask> squareThumbs = true; <mask> }) <mask> <mask> } <mask> return squareThumbs; <mask> <mask> } <mask> <mask> renderChildren() { <mask> </s> linter rules added and textinput alignment fix </...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
{React.cloneElement(this.props.children, this.getChildProps(this.props.children))}
<mask> var newChildren = []; <mask> if(!Array.isArray(this.props.children) && !this.inlinePresent() && !this.stackedPresent() && !this.insetPresent()) { <mask> newChildren.push( <mask> <View key='listItem' style={{alignSelf: 'stretch', flex:1}}> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
if(item.type == Icon) { return true; } });
<mask> <mask> if (this.props.iconLeft && !this.props.iconRight) { <mask> <mask> iconElement = _.remove(childrenArray, function(item) { <mask> if(item.type == Icon) { <mask> return true; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
{childrenArray.map((child, i) => { return React.cloneElement(child, {...this.getChildProps(child), key: i}); })} </View>);
<mask> } <mask> }); <mask> newChildren.push(React.cloneElement(iconElement[0], {...this.getChildProps(iconElement[0]), key: 'listItem0'})); <mask> newChildren.push(<View key='listItem1' style={{flexDirection: 'row', just...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
if(item.type == Icon) { return true; } });
<mask> } <mask> else if (this.props.iconRight && !this.props.iconLeft) { <mask> <mask> iconElement = _.remove(childrenArray, function(item) { <mask> if(item.type == Icon) { <mask> r...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
{childrenArray.map((child, i) => { return React.cloneElement(child, {...this.getChildProps(child), key: i}); })} </View>);
<mask> } <mask> }); <mask> <mask> newChildren.push(<View key='listItem0' > <mask> {childrenArray.map((child, i) => { <mask> return React.cl...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
if(item.type == Badge) { return true; } });
<mask> } <mask> else if (this.badgePresent()) { <mask> <mask> var badgeElement = _.remove(childrenArray, function(item) { <mask> if(item.type == Badge) { <mask> return true; <mask>...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
{childrenArray.map((child, i) => { return React.cloneElement(child, {...this.getChildProps(child), key: i}); })} </View>);
<mask> } <mask> }); <mask> <mask> newChildren.push(<View key='listItem0' > <mask> {childrenArray.map((child, i) => { <mask> return React.cl...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
if(item.type == Icon) { return true; } });
<mask> } <mask> else if (this.props.iconRight && this.props.iconLeft) { <mask> <mask> iconElement = _.filter(childrenArray, function(item) { <mask> if(item.type == Icon) { <mask> re...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
{childrenArray.slice(0,2).map((child, i) => { return React.cloneElement(child, {...this.getChildProps(child), key: i}); })} </View>);
<mask> } <mask> }); <mask> <mask> newChildren.push(<View key='listItem0' style={{flexDirection: 'row', alignItems: 'center', justifyContent: 'space-between'}} > <mask> {childrenA...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
if(item.type == Thumbnail) { return true; } });
<mask> <mask> else if (this.thumbnailPresent()) { <mask> <mask> iconElement = _.remove(childrenArray, function(item) { <mask> if(item.type == Thumbnail) { <mask> return true; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
{childrenArray.map((child, i) => { return React.cloneElement(child, {...this.getChildProps(child), key: i}); })} </View>);
<mask> } <mask> }); <mask> newChildren.push(React.cloneElement(iconElement[0], {...this.getChildProps(iconElement[0]), key: 'listItem0'})); <mask> newChildren.push(<View key='listItem1' style={{flexDi...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
if(item.type == CheckBox) { return true; } });
<mask> } <mask> else if (this.checkBoxPresent()) { <mask> <mask> iconElement = _.remove(childrenArray, function(item) { <mask> if(item.type == CheckBox) { <mask> return true; <mask...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
{childrenArray.map((child) => { return React.cloneElement(child, this.getChildProps(child)); })} </View>);
<mask> } <mask> }); <mask> newChildren.push(React.cloneElement(iconElement[0], this.getChildProps(iconElement[0]))); <mask> newChildren.push(<View key='listItem1' style={{flexDirection: 'column', padd...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
if(item.type == Radio) { return true; } });
<mask> } <mask> else if (this.radioPresent()) { <mask> <mask> iconElement = _.remove(childrenArray, function(item) { <mask> if(item.type == Radio) { <mask> return true; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
{childrenArray.map((child) => { return React.cloneElement(child, this.getChildProps(child)); })} </View>);
<mask> return true; <mask> } <mask> }); <mask> newChildren.push(<View key='listItem1' style={{flexDirection: 'column', alignSelf: (this.squareThumbs()) ? 'flex-start' :...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
{childrenArray.map((child, i) => { return React.cloneElement(child, {...this.getChildProps(child), key: i}); })} </View>);
<mask> else if (this.inputPresent() && !this.inlinePresent() && !this.stackedPresent() && !this.insetPresent()) { <mask> <mask> <mask> newChildren.push(<View key='listItem0' style={{flexDirection: 'column', alignSelf: 'center', flex: 1 }} > <mask> {...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
{childrenArray.map((child, i) => { return React.cloneElement(child, {...this.getChildProps(child), key: i}); })} </View>);
<mask> return React.cloneElement(child, {...this.getChildProps(child), key: i}); <mask> })} <mask> </View>); <mask> newChildren.push(<View key='listItem1' style={{flexDirection: 'row', alignSel...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
<TouchableOpacity {...this.prepareRootProps()} activeOpacity={ (this.props.button) ? 0.2 : 1} > {this.renderChildren()} </TouchableOpacity>
<mask> } <mask> <mask> render() { <mask> return( <mask> <TouchableOpacity {...this.prepareRootProps()} activeOpacity={ (this.props.button) ? 0.2 : 1} > <mask> {this.renderChildren()} <mask> </TouchableOpacity> <mask> ); <mask> } <mask> <mask> } <...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ListItem.js
import View from './View'; import Text from './Text'; import List from './List'; import Icon from './Icon'; import Container from './Container'; import Content from './Content'; import ListItem from './ListItem'; import Button from './Button'; import Header from './Header'; import Title from './Title'; import _ from 'l...
<mask> import React from 'react'; <mask> import {Picker, Modal} from 'react-native'; <mask> import NativeBaseComponent from '../Base/NativeBaseComponent'; <mask> import computeProps from '../../Utils/computeProps'; <mask> import View from "./View"; <mask> import Text from "./Text"; <mask> import List from "./Lis...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Picker.ios.js
});
<mask> <mask> getSelected() { <mask> const selected = _.find(this.props.children,(o) => { <mask> return o.props.value == this.props.selectedValue; <mask> }); <mask> console.log("title", ); <mask> return selected; <mask> } <mask> <mask> render() { <ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Picker.ios.js
<Modal animationType='slide'
<mask> render() { <mask> return ( <mask> <View> <mask> <Button transparent onPress={() => {this._setModalVisible(true)}}>{this.state.current}</Button> <mask> <Modal animationType="slide" <mask> transparent={false} <mask> visible={this.st...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Picker.ios.js
(<Icon name='ios-checkmark-outline' />)
<mask> renderRow={(child) => <mask> <ListItem style={{paddingVertical: 10}} iconRight button onPress={() => {this._setModalVisible(false);this.props.onValueChange(child.props.value); this.setState({current: child.props.label})}} > <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Picker.ios.js
(<Icon name='ios-checkmark-outline' style={{color: 'transparent'}} />)
<mask> <Text>{child.props.label}</Text> <mask> {(child.props.value===this.props.selectedValue) ? <mask> (<Icon name="ios-checkmark-outline" />) <mask> : <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Picker.ios.js
<mask> <mask> getInitialStyle() { <mask> return { <mask> picker: { <mask> // alignItems: 'flex-end' <mask> }, <mask> pickerItem: { <mask> <mask> } <mask> } </s> linter rules added and textinput alignment fix </s> remove /...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Picker.js
<Picker.Item {...this.props()}/> );
<mask> PickerNB.Item = React.createClass({ <mask> <mask> render: function() { <mask> return( <mask> <Picker.Item {...this.props()}/> <mask> ); <mask> } <mask> }); </s> linter rules added and textinput alignment fix </s> remove ); </s> add ); </s> remove...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Picker.js
import ProgressBar from 'ProgressBarAndroid';
<mask> /* @flow */ <mask> 'use strict'; <mask> <mask> import React from 'react'; <mask> import ProgressBar from "ProgressBarAndroid"; <mask> import NativeBaseComponent from '../Base/NativeBaseComponent'; <mask> import computeProps from '../../Utils/computeProps'; <mask> <mask> <mask> export default class S...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ProgressBar.android.js
<ProgressBar {...this.prepareRootProps()} styleAttr = 'Horizontal' indeterminate = {false} progress={this.props.progress ? this.props.progress/100 : 0.5} color={this.props.color ? this.props.color : this.props.inverse ? this.getTheme().inverseProgressColor : t...
<mask> <mask> <mask> render() { <mask> return( <mask> <ProgressBar {...this.prepareRootProps()} styleAttr = "Horizontal" <mask> indeterminate = {false} progress={this.props.progress ? this.props.progress/100 : 0.5} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ProgressBar.android.js
render() { return( <ProgressViewIOS progress={this.props.progress ? this.props.progress/100 : 0.5} progressTintColor={ this.props.color ? this.props.color : this.props.inverse ? this.getTheme().inverseProgressColor : this.getTheme().defaultProgressColor} /> ); }
<mask> export default class ProgressBarNB extends NativeBaseComponent { <mask> <mask> <mask> <mask> render() { <mask> return( <mask> <ProgressViewIOS progress={this.props.progress ? this.props.progress/100 : 0.5} <mask> progressTintColor={ this.props.color ? this.props.color :...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/ProgressBar.ios.js
import Icon from './Icon';
<mask> <mask> import React from 'react'; <mask> import {View, Platform} from 'react-native'; <mask> import NativeBaseComponent from '../Base/NativeBaseComponent'; <mask> import Icon from "./Icon"; <mask> <mask> export default class Radio extends NativeBaseComponent { <mask> <mask> getInitialStyle() { <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Radio.js
{(Platform.OS === 'ios') ? <Icon name={this.props.selected ? 'ios-radio-button-on' : 'ios-radio-button-off-outline'} style={{color: this.props.selected ? this.getTheme().radioSelectedColor : this.getTheme().radioColor, lineHeight: this.getTheme().radioBtnSize+4, fontSize: this.getTheme().radioB...
<mask> <mask> render() { <mask> return( <mask> <View > <mask> {(Platform.OS === 'ios') ? <mask> <Icon name={this.props.selected ? "ios-radio-button-on" : "ios-radio-button-off-outline"} style={{color: this.props.selected ? this.getTheme().radioSelected...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Radio.js
<ActivityIndicator {...this.prepareRootProps()} color={this.props.color ? this.props.color : this.props.inverse ? this.getTheme().inverseSpinnerColor : this.getTheme().defaultSpinnerColor} size={this.props.size ? this.props.size : 'large' } />
<mask> <mask> <mask> render() { <mask> return( <mask> <ActivityIndicator {...this.prepareRootProps()} color={this.props.color ? this.props.color : this.props.inverse ? <mask> this.getTheme().inverseSpinnerColor : <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Spinner.js
<ScrollableTabView {...this.prepareRootProps()} > {this.props.children} </ScrollableTabView>
<mask> } <mask> <mask> render() { <mask> return( <mask> <ScrollableTabView {...this.prepareRootProps()} > <mask> {this.props.children} <mask> </ScrollableTabView> <mask> ); <mask> } <mask> <mask> } </s> linter rules added and textinput alignmen...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Tabs.js
<mask> <mask> export default class Textarea extends NativeBaseComponent { <mask> <mask> getInitialStyle() { <mask> // console.log("this.getContextForegroundColor()", this.getContextForegroundColor()); <mask> // console.log("this.getTheme().borderWidth", this.getTheme().borderWidth); <mask> return { <ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Textarea.js
<TextInput {...this.prepareRootProps()} multiline={true} placeholderTextColor={ this.getTheme().inputColorPlaceholder} underlineColorAndroid='rgba(0,0,0,0)' />
<mask> render() { <mask> <mask> return ( <mask> <View style={{ flex: 1, borderColor: this.getContextForegroundColor(),borderBottomWidth: this.getTheme().borderWidth }}> <mask> <TextInput {...this.prepareRootProps()} multiline={true} placeholderTextColor={ this.getTheme().inputColorPlaceholder} underline...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Textarea.js
);
<mask> return ( <mask> <View style={{ flex: 1, borderColor: this.getContextForegroundColor(),borderBottomWidth: this.getTheme().borderWidth }}> <mask> <TextInput {...this.prepareRootProps()} multiline={true} placeholderTextColor={ this.getTheme().inputColorPlaceholder} underlineColorAndroid='rgba(0,0,0,0)' ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Textarea.js
);
<mask> <mask> render() { <mask> return( <mask> <Image {...this.prepareRootProps()}/> <mask> ); <mask> } <mask> } </s> linter rules added and textinput alignment fix </s> remove render() { return( </s> add render() { return( </s> remove ); ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Thumbnail.js
import Text from './Text'; import View from './View';
<mask> <mask> import React from 'react'; <mask> import { Platform } from 'react-native'; <mask> import NativeBaseComponent from '../Base/NativeBaseComponent'; <mask> import Text from "./Text"; <mask> import View from "./View"; <mask> import computeProps from '../../Utils/computeProps'; <mask> <mask> <mask>...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Title.js
);
<mask> <mask> render() { <mask> return( <mask> <View style={{justifyContent: 'center'}}><Text {...this.prepareRootProps()}>{this.props.children}</Text></View> <mask> ); <mask> } <mask> } </s> linter rules added and textinput alignment fix </s> remove render() { return( </s> add re...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/Title.js
);
<mask> <mask> render() { <mask> return( <mask> <View style={{padding: (this.props.padder) ? this.getTheme().contentPadding : 0, flex: 1}} {...this.props}></View> <mask> ); <mask> } <mask> } <mask> </s> linter rules added and textinput alignment fix </s> remove render() { return( </s...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600
Components/Widgets/View.js
import { TouchableOpacity, Platform, TouchableOpacityProps, } from 'react-native';
<mask> import React, { useContext } from 'react'; <mask> import { TouchableOpacity, Platform } from 'react-native'; <mask> import { mergeRefs } from './../../../utils'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import { Center } from '../../composites/Center'; <mask> import { <mask> FormCon...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a150c45b2cb8c9bca47d1d051528f7dc240c3bf
src/components/primitives/Checkbox/Checkbox.tsx
let _ref = React.useRef(); const mergedRef = mergeRefs([ref, _ref]);
<mask> ...checkboxGroupContext, <mask> ...formControlContext, <mask> ...props, <mask> }); <mask> let ref1 = React.useRef(); <mask> const ref2 = mergeRefs([ref, ref1]); <mask> let state = useToggleState({ ...props, isSelected: props.isChecked }); <mask> let groupState = useContext(CheckboxG...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a150c45b2cb8c9bca47d1d051528f7dc240c3bf
src/components/primitives/Checkbox/Checkbox.tsx
mergedRef
<mask> useCheckbox( <mask> props, <mask> state, <mask> //@ts-ignore <mask> ref2 <mask> ); <mask> <mask> const isChecked = inputProps.checked; <mask> const isDisabled = inputProps.disabled; <mask> const sizedIcon = icon </s> fix: checkbox v3 - cleanup </s> re...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a150c45b2cb8c9bca47d1d051528f7dc240c3bf
src/components/primitives/Checkbox/Checkbox.tsx
import Box from '../Box';
<mask> FormControlContext, <mask> IFormControlContext, <mask> } from '../../composites/FormControl'; <mask> import type { ICheckboxGroupProps, ICheckboxContext } from './types'; <mask> import { Box } from '..'; <mask> <mask> export let CheckboxGroupContext = createContext<ICheckboxContext | null>(null); <m...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a150c45b2cb8c9bca47d1d051528f7dc240c3bf
src/components/primitives/Checkbox/CheckboxGroup.tsx
},__source:{fileName:_jsxFileName,lineNumber:67}},
<mask> visible:this.state.modalVisible, <mask> onRequestClose:function onRequestClose(){ <mask> _this2.state.callback(_this2.state.cancelButtonIndex); <mask> _this2.setState({modalVisible:false}); <mask> },__source:{fileName:_jsxFileName,lineNumber:66}}, <mask> <mask> _react2.default.createElement(_reactNative....
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
justifyContent:"flex-end"},__source:{fileName:_jsxFileName,lineNumber:76}},
<mask> }, <mask> style:{ <mask> backgroundColor:"rgba(0,0,0,0.4)", <mask> flex:1, <mask> justifyContent:"flex-end"},__source:{fileName:_jsxFileName,lineNumber:75}}, <mask> <mask> <mask> _react2.default.createElement(_reactNative.TouchableOpacity,{ <mask> activeOpacity:1, <mask> style:{ </s> ActionSheet: Fi...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
minHeight:56,
<mask> activeOpacity:1, <mask> style:{ <mask> backgroundColor:"#fff", <mask> height:this.state.length*80, <mask> maxHeight:_reactNative.Dimensions.get("window").height/2, <mask> padding:15, <mask> elevation:4},__source:{fileName:_jsxFileName,lineNumber:88}}, </s> ActionSheet: Fixed as per design guidelines </s>...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
maxHeight:_reactNative.Dimensions.get("window").height/2,
<mask> activeOpacity:1, <mask> style:{ <mask> backgroundColor:"#fff", <mask> height:this.state.length*80, <mask> maxHeight:"100%", <mask> padding:15, <mask> elevation:4},__source:{fileName:_jsxFileName,lineNumber:87}}, <mask> <mask> <mask> this.state.title?_react2.default.createElement(_Text.Text,{style:{co...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
elevation:4},__source:{fileName:_jsxFileName,lineNumber:88}},
<mask> backgroundColor:"#fff", <mask> height:this.state.length*80, <mask> maxHeight:"100%", <mask> padding:15, <mask> elevation:4},__source:{fileName:_jsxFileName,lineNumber:87}}, <mask> <mask> <mask> this.state.title?_react2.default.createElement(_Text.Text,{style:{color:"#757575"},__source:{fileName:_jsxFil...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
this.state.title? _react2.default.createElement(_Text.Text,{style:{color:"#757575"},__source:{fileName:_jsxFileName,lineNumber:100}},this.state.title): null,
<mask> padding:15, <mask> elevation:4},__source:{fileName:_jsxFileName,lineNumber:87}}, <mask> <mask> <mask> this.state.title?_react2.default.createElement(_Text.Text,{style:{color:"#757575"},__source:{fileName:_jsxFileName,lineNumber:97}},this.state.title):null, <mask> _react2.default.createElement(_reactNativ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
style:{ marginHorizontal:-15, marginTop:this.state.title?15:0},
<mask> <mask> <mask> this.state.title?_react2.default.createElement(_Text.Text,{style:{color:"#757575"},__source:{fileName:_jsxFileName,lineNumber:97}},this.state.title):null, <mask> _react2.default.createElement(_reactNative.FlatList,{ <mask> style:{marginHorizontal:-15,marginTop:this.state.title?15:0}, <mask>...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
style:{borderColor:"transparent",marginLeft:14},__source:{fileName:_jsxFileName,lineNumber:111}}, _react2.default.createElement(_Text.Text,{__source:{fileName:_jsxFileName,lineNumber:118}},item)):
<mask> onPress:function onPress(){ <mask> _this2.state.callback(parseInt(index)); <mask> _this2.setState({modalVisible:false}); <mask> }, <mask> style:{borderColor:"transparent"},__source:{fileName:_jsxFileName,lineNumber:104}}, <mask> _react2.default.createElement(_Text.Text,{__source:{fileName:_jsxFileName,line...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
style:{ borderColor:"transparent", marginLeft:14, height:50}, icon:true,__source:{fileName:_jsxFileName,lineNumber:121}},
<mask> onPress:function onPress(){ <mask> _this2.state.callback(parseInt(index)); <mask> _this2.setState({modalVisible:false}); <mask> }, <mask> style:{borderColor:"transparent"}, <mask> icon:true,__source:{fileName:_jsxFileName,lineNumber:113}}, <mask> <mask> _react2.default.createElement(_Left.Left,{__source...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
_react2.default.createElement(_Left.Left,{__source:{fileName:_jsxFileName,lineNumber:133}},
<mask> }, <mask> style:{borderColor:"transparent"}, <mask> icon:true,__source:{fileName:_jsxFileName,lineNumber:113}}, <mask> <mask> _react2.default.createElement(_Left.Left,{__source:{fileName:_jsxFileName,lineNumber:121}}, <mask> _react2.default.createElement(_Icon.Icon,{ <mask> name:item.icon, <mask> style:...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
color:item.iconColor?item.iconColor:undefined},__source:{fileName:_jsxFileName,lineNumber:134}})),
<mask> _react2.default.createElement(_Left.Left,{__source:{fileName:_jsxFileName,lineNumber:121}}, <mask> _react2.default.createElement(_Icon.Icon,{ <mask> name:item.icon, <mask> style:{ <mask> color:item.iconColor?item.iconColor:undefined},__source:{fileName:_jsxFileName,lineNumber:122}})), <mask> <mask> <ma...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
_react2.default.createElement(_Body.Body,{ style:{borderColor:"transparent",paddingLeft:7},__source:{fileName:_jsxFileName,lineNumber:141}},
<mask> <mask> <mask> <mask> <mask> _react2.default.createElement(_Text.Text,{__source:{fileName:_jsxFileName,lineNumber:144}},item.text)), <mask> <mask> _react2.default.createElement(_Right.Right,{__source:{fileName:_jsxFileName,lineNumber:146}})); </s> ActionSheet: Fixed as per design guidelines </s> remo...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
_react2.default.createElement(_Text.Text,{__source:{fileName:_jsxFileName,lineNumber:144}},item.text)),
<mask> color:item.iconColor?item.iconColor:undefined},__source:{fileName:_jsxFileName,lineNumber:122}})), <mask> <mask> <mask> <mask> _react2.default.createElement(_Body.Body,{style:{borderColor:"transparent"},__source:{fileName:_jsxFileName,lineNumber:129}}, <mask> _react2.default.createElement(_Text.Text,{__...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
_react2.default.createElement(_Right.Right,{__source:{fileName:_jsxFileName,lineNumber:146}}));
<mask> <mask> _react2.default.createElement(_Body.Body,{style:{borderColor:"transparent"},__source:{fileName:_jsxFileName,lineNumber:129}}, <mask> _react2.default.createElement(_Text.Text,{__source:{fileName:_jsxFileName,lineNumber:130}},item.text)), <mask> <mask> _react2.default.createElement(_Right.Right,{__so...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
},__source:{fileName:_jsxFileName,lineNumber:102}})))));
<mask> <mask> _react2.default.createElement(_Right.Right,{__source:{fileName:_jsxFileName,lineNumber:132}})); <mask> <mask> <mask> },__source:{fileName:_jsxFileName,lineNumber:98}}))))); <mask> <mask> <mask> <mask> <mask> </s> ActionSheet: Fixed as per design guidelines </s> remove _react2.default.cr...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
dist/src/basic/Actionsheet.js
FlatList, Dimensions
<mask> Platform, <mask> ActionSheetIOS, <mask> TouchableOpacity, <mask> ViewPropTypes, <mask> FlatList <mask> } from "react-native"; <mask> import { connectStyle } from "native-base-shoutem-theme"; <mask> import { Text } from "./Text"; <mask> import { Button } from "./Button"; <mask> import { ViewNB...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
src/basic/Actionsheet.js
items: []
<mask> constructor(props) { <mask> super(props); <mask> this.state = { <mask> modalVisible: false, <mask> items: [], <mask> }; <mask> } <mask> static actionsheetInstance; <mask> static show(config, callback) { <mask> this.actionsheetInstance._root.showActionSheet(config, ca...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
src/basic/Actionsheet.js
callback: callback
<mask> message: config.message, <mask> destructiveButtonIndex: config.destructiveButtonIndex, <mask> cancelButtonIndex: config.cancelButtonIndex, <mask> modalVisible: true, <mask> callback: callback, <mask> }); <mask> } <mask> } <mask> componentDidMount() {...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
src/basic/Actionsheet.js
minHeight: 56,
<mask> <TouchableOpacity <mask> activeOpacity={1} <mask> style={{ <mask> backgroundColor: "#fff", <mask> height: this.state.length * 80, <mask> maxHeight: Dimensions.get("window").height / 2, <mask> padding: 15, <mask> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
src/basic/Actionsheet.js
maxHeight: Dimensions.get("window").height / 2,
<mask> activeOpacity={1} <mask> style={{ <mask> backgroundColor: "#fff", <mask> height: this.state.length * 80, <mask> maxHeight: "100%", <mask> padding: 15, <mask> elevation: 4 <mask> }} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
src/basic/Actionsheet.js
{this.state.title ? ( <Text style={{ color: "#757575" }}>{this.state.title}</Text> ) : null}
<mask> padding: 15, <mask> elevation: 4 <mask> }} <mask> > <mask> {this.state.title ? <Text style={{ color: "#757575" }}>{this.state.title}</Text> : null} <mask> <FlatList <mask> style={{ marginHorizontal: -15, marginTop: thi...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
src/basic/Actionsheet.js
style={{ marginHorizontal: -15, marginTop: this.state.title ? 15 : 0 }}
<mask> }} <mask> > <mask> {this.state.title ? <Text style={{ color: "#757575" }}>{this.state.title}</Text> : null} <mask> <FlatList <mask> style={{ marginHorizontal: -15, marginTop: this.state.title ? 15 : 0 }} <mask> data={this.state.items...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
src/basic/Actionsheet.js
style={{ borderColor: "transparent", marginLeft: 14 }} >
<mask> onPress={() => { <mask> this.state.callback(parseInt(index)); <mask> this.setState({ modalVisible: false }); <mask> }} <mask> style={{ borderColor: "transparent" }}> <mask> <Text>{ite...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
src/basic/Actionsheet.js
<ListItem onPress={() => { this.state.callback(parseInt(index)); this.setState({ modalVisible: false }); }} style={{ borderColor: "transparent", marginLef...
<mask> style={{ borderColor: "transparent" }}> <mask> <Text>{item}</Text> <mask> </ListItem> <mask> ) : ( <mask> <ListItem <mask> onPress={() => { <mask> this.state.callback...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
src/basic/Actionsheet.js
<Text>{item.text}</Text> </Body> <Right /> </ListItem> );
<mask> }} <mask> style={{ borderColor: "transparent" }} <mask> icon <mask> > <mask> <Left> <mask> <Icon <mask> name={item.icon} <mask> ...
[ "keep", "keep", "keep", "keep", "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/1a22d69ddc87799a2e7f82741d5ce865e6a899ca
src/basic/Actionsheet.js