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 |
|---|---|---|---|---|
{startIcon ? (
<Box mr={Math.floor(innerButtonProps.px / 2) || 2}>{startIcon}</Box> | <mask>
<mask> accessibilityProps.isDisabled = accessibilityProps.isDisabled || isLoading;
<mask> const innerButton = (
<mask> <Box {...innerButtonProps} {...commonProps}>
<mask> {leftIcon ? (
<mask> <Box mr={Math.floor(innerButtonProps.px / 2) || 2}>{leftIcon}</Box>
<mask> ) : null}
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1706397fb9f7c3102ee33c4bf02dbae44f5c4815 | src/components/primitives/Button/index.tsx |
{endIcon ? (
<Box ml={Math.floor(innerButtonProps.px / 2) || 2}>{endIcon}</Box> | <mask> >
<mask> {children}
<mask> </Text>
<mask> )}
<mask> {rightIcon ? (
<mask> <Box ml={Math.floor(innerButtonProps.px / 2) || 2}>{rightIcon}</Box>
<mask> ) : null}
<mask> </Box>
<mask> );
<mask>
<mask> const ariaProps = useButton(
</s> Fixes fo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1706397fb9f7c3102ee33c4bf02dbae44f5c4815 | src/components/primitives/Button/index.tsx |
startIcon?: JSX.Element | Array<JSX.Element>;
endIcon?: JSX.Element | Array<JSX.Element>; | <mask> isLoading?: any;
<mask> size?: 'xs' | 'sm' | 'md' | 'lg';
<mask> onPress?: any;
<mask> shadow?: number;
<mask> leftIcon?: JSX.Element | Array<JSX.Element>;
<mask> rightIcon?: JSX.Element | Array<JSX.Element>;
<mask> isLoadingText?: string;
<mask> spinner?: JSX.Element;
<m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1706397fb9f7c3102ee33c4bf02dbae44f5c4815 | src/components/primitives/Button/types.ts |
py: 2,
px: 2, | <mask> const baseStyle = {
<mask> borderRadius: 'md',
<mask> };
<mask>
<mask> const sizes = {
<mask> lg: {
<mask> py: 0,
<mask> px: 0,
<mask> fontSize: '3xl',
<mask> },
<mask> md: {
<mask> py: 0,
<mask> px: 0,
<mask> fontSize: '2xl',
<mask> },
<mask> sm: {
<mask> ... | [
"keep",
"keep",
"replace",
"replace",
"replace",
"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/1706397fb9f7c3102ee33c4bf02dbae44f5c4815 | src/theme/components/icon-button.ts |
<mask> },
<mask> };
<mask>
<mask> const defaultProps = {
<mask> size: 'md',
<mask> variant: 'ghost',
<mask> };
<mask>
<mask> export default {
<mask> baseStyle,
</s> Fixes for Icon button and changes for Button icon props </s> remove };
const sizes = {
lg: {
py: 0,
px: 0,
fontSize: '3... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1706397fb9f7c3102ee33c4bf02dbae44f5c4815 | src/theme/components/icon-button.ts | |
<mask> };
<mask>
<mask> export default {
<mask> baseStyle,
<mask> sizes,
<mask> defaultProps,
<mask> };
</s> Fixes for Icon button and changes for Button icon props </s> remove size: 'md',
</s> add </s> remove };
const sizes = {
lg: {
py: 0,
px: 0,
fontSize: '3xl',
},
md: {
py:... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/1706397fb9f7c3102ee33c4bf02dbae44f5c4815 | src/theme/components/icon-button.ts | |
myNewButton: ({ myPaddingX }: { myPaddingX: number }) => { | <mask> variants: {
<mask> myBtn: {
<mask> padding: 10,
<mask> },
<mask> myNewButton: ({ myPadding }: { myPadding: number }) => {
<mask> return {
<mask> padding: myPadding,
<mask> };
<mask> },
<mask> },
</s> fix: basic compo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | example/storybook/stories/components/Wrapper.tsx |
padding: myPaddingX, | <mask> padding: 10,
<mask> },
<mask> myNewButton: ({ myPadding }: { myPadding: number }) => {
<mask> return {
<mask> padding: myPadding,
<mask> };
<mask> },
<mask> },
<mask> sizes: {
<mask> newsize: ({ mySize }: { mySize: nu... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | example/storybook/stories/components/Wrapper.tsx |
variant={'myNewButton'} | <mask> const [state, setState] = React.useState(1);
<mask> return (
<mask> <Box style={{ position: 'absolute', top: 10, left: 20 }} m={2} bg="red.100">
<mask> <Button
<mask> // title={state.toString()}
<mask> onPress={() => setState(state + 1)}
<mask> />
<mask> </Box>
<m... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | example/storybook/stories/components/Wrapper.tsx |
import type { CustomProps, PlatformProps } from '../../types'; | <mask> import type { StyledProps } from '../../../theme/types';
<mask> import type { FlatListProps } from 'react-native';
<mask> import type { PlatformProps } from '../../types';
<mask>
<mask> export interface IFlatListProps<ItemT>
<mask> extends FlatListProps<ItemT>,
<mask> StyledProps,
<mask> Platf... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/FlatList/types.ts |
export interface InterfaceFlatListProps<ItemT> | <mask> import type { StyledProps } from '../../../theme/types';
<mask> import type { FlatListProps } from 'react-native';
<mask> import type { PlatformProps } from '../../types';
<mask>
<mask> export interface IFlatListProps<ItemT>
<mask> extends FlatListProps<ItemT>,
<mask> StyledProps,
<mask> Platf... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/FlatList/types.ts |
import type { CustomProps, PlatformProps } from '../../types'; | <mask> import type { KeyboardAvoidingViewProps } from 'react-native';
<mask> import type { StyledProps } from '../../../theme/types';
<mask> import type { PlatformProps } from '../../types';
<mask>
<mask> export interface IKeyboardAvoidingViewProps
<mask> extends KeyboardAvoidingViewProps,
<mask> StyledPr... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/KeyboardAvoidingView/types.ts |
export interface InterfaceKeyboardAvoidingViewProps | <mask> import type { KeyboardAvoidingViewProps } from 'react-native';
<mask> import type { StyledProps } from '../../../theme/types';
<mask> import type { PlatformProps } from '../../types';
<mask>
<mask> export interface IKeyboardAvoidingViewProps
<mask> extends KeyboardAvoidingViewProps,
<mask> StyledPr... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/KeyboardAvoidingView/types.ts |
export type IKeyboardAvoidingViewProps =
| InterfaceKeyboardAvoidingViewProps
| CustomProps<'KeyboardAvoidingView'>; | <mask> /**
<mask> * Renders components as Box children. Accepts a JSX.Element or an array of JSX.Element. */
<mask> children?: JSX.Element | JSX.Element[] | string | any;
<mask> }
</s> fix: basic components custom prop typing fixes </s> remove export interface IScrollViewProps
</s> add export interface Int... | [
"keep",
"keep",
"keep",
"add"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/KeyboardAvoidingView/types.ts |
import type { CustomProps, PlatformProps } from '../../types'; | <mask> import type { ScrollViewProps } from 'react-native';
<mask> import type { StyledProps } from '../../../theme/types';
<mask> import type { PlatformProps } from '../../types';
<mask>
<mask> export interface IScrollViewProps
<mask> extends ScrollViewProps,
<mask> StyledProps,
<mask> PlatformProps... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/ScrollView/types.ts |
export interface InterfaceScrollViewProps | <mask> import type { ScrollViewProps } from 'react-native';
<mask> import type { StyledProps } from '../../../theme/types';
<mask> import type { PlatformProps } from '../../types';
<mask>
<mask> export interface IScrollViewProps
<mask> extends ScrollViewProps,
<mask> StyledProps,
<mask> PlatformProps... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/ScrollView/types.ts |
export type IScrollViewProps =
| InterfaceScrollViewProps
| CustomProps<'ScrollView'>; | <mask> * pass props to contentContainerStyle, and this also resolved NB tokens.
<mask> */
<mask> _contentContainerStyle?: IScrollViewProps;
<mask> }
</s> fix: basic components custom prop typing fixes </s> remove export interface IFlatListProps<ItemT>
</s> add export interface InterfaceFlatListProps<ItemT... | [
"keep",
"keep",
"keep",
"add"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/ScrollView/types.ts |
import type { CustomProps, PlatformProps } from '../../types'; | <mask> import type { StyledProps } from '../../../theme/types';
<mask> import type { SectionListProps } from 'react-native';
<mask> import type { PlatformProps } from '../../types';
<mask> type DefaultSectionT = {
<mask> [key: string]: any;
<mask> };
<mask> // TODO: any need to fixed
<mask> export interface I... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/SectionList/types.ts |
export interface InterfaceSectionListProps<ItemT, sectionT = DefaultSectionT> | <mask> type DefaultSectionT = {
<mask> [key: string]: any;
<mask> };
<mask> // TODO: any need to fixed
<mask> export interface ISectionListProps<ItemT, sectionT = DefaultSectionT>
<mask> extends SectionListProps<ItemT, sectionT>,
<mask> StyledProps,
<mask> PlatformProps<ISectionListProps<ItemT, sect... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/SectionList/types.ts |
import type { CustomProps } from '../../../components/types'; | <mask> import type { StatusBarProps } from 'react-native';
<mask>
<mask> export interface InterfaceStatusBarProps extends StatusBarProps {}
<mask> export type IStatusBarProps =
<mask> | InterfaceStatusBarProps
<mask> | CustomProps<'StatusBar'>;
</s> fix: basic components custom prop typing fixes </s> remove... | [
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/StatusBar/types.ts |
import type { CustomProps, PlatformProps } from '../../types'; | <mask> import type { StyledProps } from '../../../theme/types';
<mask> import type { ViewProps } from 'react-native';
<mask> import type { PlatformProps } from '../../types';
<mask>
<mask> export interface IViewProps
<mask> extends ViewProps,
<mask> StyledProps,
<mask> PlatformProps<IViewProps> {
</... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/View/types.ts |
export interface InterfaceViewProps | <mask> import type { StyledProps } from '../../../theme/types';
<mask> import type { ViewProps } from 'react-native';
<mask> import type { PlatformProps } from '../../types';
<mask>
<mask> export interface IViewProps
<mask> extends ViewProps,
<mask> StyledProps,
<mask> PlatformProps<IViewProps> {
<m... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/View/types.ts |
export type IViewProps = InterfaceViewProps | CustomProps<'View'>; | <mask> /**
<mask> * Renders components as Box children. Accepts a JSX.Element or an array of JSX.Element. */
<mask> children?: JSX.Element | JSX.Element[] | string | any;
<mask> }
</s> fix: basic components custom prop typing fixes </s> remove export interface IScrollViewProps
</s> add export interface Int... | [
"keep",
"keep",
"keep",
"add"
] | https://github.com/GeekyAnts/NativeBase/commit/18127e2e1cbedee5f7fdbe1e56026b386a545e45 | src/components/basic/View/types.ts |
// width: 90,
marginRight: -4,
flexGrow: 1 | <mask> const pickerTheme = {
<mask> ".note": {
<mask> color: "#8F8E95"
<mask> },
<mask> width: 90,
<mask> marginRight: -4
<mask> };
<mask>
<mask> return pickerTheme;
<mask> };
</s> Attempt to fix Picker disappearing on android when placed near to an icon
Fix for issue #457 (Placi... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18dbe53d3fe304c8ef2fe8db234dcba2a820fd50 | src/theme/components/Picker.android.js |
// width: 90,
marginRight: -4,
flexGrow: 1 | <mask> const pickerTheme = {
<mask> ".note": {
<mask> color: "#8F8E95"
<mask> },
<mask> width: 90,
<mask> marginRight: -4
<mask> };
<mask>
<mask> return pickerTheme;
<mask> };
</s> Attempt to fix Picker disappearing on android when placed near to an icon
Fix for issue #457 (Placi... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18dbe53d3fe304c8ef2fe8db234dcba2a820fd50 | src/theme/components/Picker.js |
import pickerTheme from "./Picker" | <mask> import formTheme from "./Form";
<mask> import separatorTheme from "./Separator";
<mask> import variable from "./../variables/platform";
<mask>
<mask> export default (variables = variable) => {
<mask> const theme = {
</s> Attempt to fix Picker disappearing on android when placed near to an icon
Fix for ... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18dbe53d3fe304c8ef2fe8db234dcba2a820fd50 | src/theme/components/index.js |
...pickerTheme(variables), | <mask> },
<mask>
<mask> "NativeBase.PickerNB": {
<mask> "NativeBase.Button": {
<mask> "NativeBase.Text": {}
<mask> }
<mask> },
</s> Attempt to fix Picker disappearing on android when placed near to an icon
Fix for issue #457 (Placing Picker next to an Icon in the same row disapp... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/18dbe53d3fe304c8ef2fe8db234dcba2a820fd50 | src/theme/components/index.js |
"no-unused-vars": 1,
"quotes": ["error", "single"],
"no-multi-spaces": 1 | <mask> }
<mask> },
<mask> "rules": {
<mask> "react-native/no-unused-styles": 1,
<mask> "no-unused-vars": 1
<mask> },
<mask> "env": {
<mask> "es6": true
<mask> },
<mask> "globals": {
</s> linter rules added and textinput alignment fix </s> remove return {
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | .eslintrc.json |
theme: this.props.theme ? this.props.theme : this.getTheme(),
foregroundColor: this.props.foregroundColor ?
this.props.foregroundColor : this.getTheme().textColor
}; | <mask> }
<mask>
<mask> getChildContext() {
<mask> return {
<mask> theme: this.props.theme ? this.props.theme : this.getTheme(),
<mask> foregroundColor: this.props.foregroundColor ? this.props.foregroundColor : this.getTheme().textColor
<mask> };
<mask> }
<mask>
<mask> getContextForegroundCo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Base/NativeBaseComponent.js |
return this.props.theme ? this.props.theme :
this.context.theme || lightTheme | <mask> return this.context.foregroundColor
<mask> }
<mask>
<mask> getTheme() {
<mask> return this.props.theme ? this.props.theme : this.context.theme || lightTheme
<mask> }
<mask> } </s> linter rules added and textinput alignment fix </s> remove theme: this.props.theme ? this.props.theme : this.getTh... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Base/NativeBaseComponent.js |
brandPrimary : '#428bca',
brandInfo: '#5bc0de',
brandSuccess: '#5cb85c',
brandDanger: '#d9534f',
brandWarning: '#f0ad4e',
brandSidebar: '#252932', | <mask> var borderRadiusBase = 4;
<mask> var contentPadding = 10;
<mask>
<mask> module.exports = {
<mask> brandPrimary : "#428bca",
<mask> brandInfo: "#5bc0de",
<mask> brandSuccess: "#5cb85c",
<mask> brandDanger: "#d9534f",
<mask> brandWarning: "#f0ad4e",
<mask> brandSidebar: "#252932",
<mask>
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/dark.js |
inverseTextColor: '#000',
textColor: '#fff', | <mask> brandDanger: "#d9534f",
<mask> brandWarning: "#f0ad4e",
<mask> brandSidebar: "#252932",
<mask>
<mask> inverseTextColor: "#000",
<mask> textColor: "#fff",
<mask>
<mask> fontSizeBase: 15,
<mask>
<mask> get fontSizeH1 () {
<mask> return multiply(fontSizeBase, 1.8);
</s> linter rules ad... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/dark.js |
fontSizeBase: 15, | <mask>
<mask> inverseTextColor: "#000",
<mask> textColor: "#fff",
<mask>
<mask> fontSizeBase: 15,
<mask>
<mask> get fontSizeH1 () {
<mask> return multiply(fontSizeBase, 1.8);
<mask> },
<mask> get fontSizeH2 () {
</s> linter rules added and textinput alignment fix </s> remove get fontS... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/dark.js |
get fontSizeH1 () { | <mask> textColor: "#fff",
<mask>
<mask> fontSizeBase: 15,
<mask>
<mask> get fontSizeH1 () {
<mask> return multiply(fontSizeBase, 1.8);
<mask> },
<mask> get fontSizeH2 () {
<mask> return multiply(fontSizeBase, 1.6);
<mask> },
</s> linter rules added and textinput alignment fix... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/dark.js |
toolbarDefaultBg: '#505052',
toolbarInverseBg: '#222', | <mask> return multiply(fontSizeBase, 5.8);
<mask> },
<mask>
<mask> toolbarHeight: 70,
<mask> toolbarDefaultBg: "#505052",
<mask> toolbarInverseBg: "#222",
<mask>
<mask> get btnPrimaryBg () {
<mask> return this.brandPrimary;
<mask> },
<mask> get btnPrimaryColor ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/dark.js |
inputColor: '#fff',
inputBorderColor: '#fff', | <mask> return this.textColor;
<mask> },
<mask>
<mask>
<mask> inputColor: "#fff",
<mask> inputBorderColor: "#fff",
<mask> inputHeightBase: 40,
<mask> inputGroupMarginBottom: 10,
<mask> inputColorPlaceholder: "rgba(256,256,256,0.8)",
<mask> inputPaddingLeft: 5,
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/dark.js |
inputColorPlaceholder: 'rgba(256,256,256,0.8)', | <mask> inputColor: "#fff",
<mask> inputBorderColor: "#fff",
<mask> inputHeightBase: 40,
<mask> inputGroupMarginBottom: 10,
<mask> inputColorPlaceholder: "rgba(256,256,256,0.8)",
<mask> inputPaddingLeft: 5,
<mask> get inputPaddingLeftIcon () {
<mask> return multiply(this.inpu... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/dark.js |
dropdownBg: '#fff',
dropdownLinkColor: '#414142', | <mask> get inputPaddingLeftIcon () {
<mask> return multiply(this.inputPaddingLeft, 8);
<mask> },
<mask>
<mask> dropdownBg: "#fff",
<mask> dropdownLinkColor: "#414142",
<mask>
<mask> jumbotronPadding: 30,
<mask> jumbotronBg: "#C9C9CE",
<mask>
<mask> contentPadding: conte... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/dark.js |
jumbotronBg: '#C9C9CE', | <mask> dropdownBg: "#fff",
<mask> dropdownLinkColor: "#414142",
<mask>
<mask> jumbotronPadding: 30,
<mask> jumbotronBg: "#C9C9CE",
<mask>
<mask> contentPadding: contentPadding
<mask> } </s> linter rules added and textinput alignment fix </s> remove dropdownBg: "#fff",
dropdownLinkC... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/dark.js |
brandPrimary : '#5067FF',
brandInfo: '#5bc0de',
brandSuccess: '#5cb85c',
brandDanger: '#d9534f',
brandWarning: '#f0ad4e',
brandSidebar: '#252932', | <mask>
<mask> import {Platform} from 'react-native';
<mask>
<mask> export default {
<mask> brandPrimary : "#5067FF",
<mask> brandInfo: "#5bc0de",
<mask> brandSuccess: "#5cb85c",
<mask> brandDanger: "#d9534f",
<mask> brandWarning: "#f0ad4e",
<mask> brandSidebar: "#252932",
<mask>
<mask> fontFami... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
btnFontFamily: (Platform.OS === 'ios' ) ? 'HelveticaNeue' : 'Roboto_medium',
iconFamily: 'Ionicons', | <mask> brandWarning: "#f0ad4e",
<mask> brandSidebar: "#252932",
<mask>
<mask> fontFamily: (Platform.OS === 'ios' ) ? 'HelveticaNeue' : 'Roboto',
<mask> btnFontFamily: (Platform.OS === 'ios' ) ? 'HelveticaNeue' : 'Roboto_medium',
<mask> iconFamily: 'Ionicons',
<mask>
<mask> inverseTextColor: "#fff",
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
inverseTextColor: '#fff',
textColor: '#000', | <mask> fontFamily: (Platform.OS === 'ios' ) ? 'HelveticaNeue' : 'Roboto',
<mask> btnFontFamily: (Platform.OS === 'ios' ) ? 'HelveticaNeue' : 'Roboto_medium',
<mask> iconFamily: 'Ionicons',
<mask>
<mask> inverseTextColor: "#fff",
<mask> textColor: "#000",
<mask>
<mask> subtitleColor: "#8e8e93",
<mask... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
subtitleColor: '#8e8e93', | <mask>
<mask> inverseTextColor: "#fff",
<mask> textColor: "#000",
<mask>
<mask> subtitleColor: "#8e8e93",
<mask>
<mask> fontSizeBase: 15,
<mask> titleFontSize: (Platform.OS === 'ios' ) ? 17 : 19,
<mask> subTitleFontSize: (Platform.OS === 'ios' ) ? 12 : 14,
<mask>
</s> linter rules added and textinp... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
fontSizeBase: 15,
titleFontSize: (Platform.OS === 'ios' ) ? 17 : 19,
subTitleFontSize: (Platform.OS === 'ios' ) ? 12 : 14, | <mask> textColor: "#000",
<mask>
<mask> subtitleColor: "#8e8e93",
<mask>
<mask> fontSizeBase: 15,
<mask> titleFontSize: (Platform.OS === 'ios' ) ? 17 : 19,
<mask> subTitleFontSize: (Platform.OS === 'ios' ) ? 12 : 14,
<mask>
<mask> inputFontSize: 15,
<mask> inputLineHeight: 24,
<mask>
<mask> get ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
inputFontSize: 15,
inputLineHeight: 24, | <mask> fontSizeBase: 15,
<mask> titleFontSize: (Platform.OS === 'ios' ) ? 17 : 19,
<mask> subTitleFontSize: (Platform.OS === 'ios' ) ? 12 : 14,
<mask>
<mask> inputFontSize: 15,
<mask> inputLineHeight: 24,
<mask>
<mask> get fontSizeH1 () {
<mask> return this.fontSizeBase*1.8;
<mask> },
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
get fontSizeH1 () { | <mask>
<mask> inputFontSize: 15,
<mask> inputLineHeight: 24,
<mask>
<mask> get fontSizeH1 () {
<mask> return this.fontSizeBase*1.8;
<mask> },
<mask> get fontSizeH2 () {
<mask> return this.fontSizeBase* 1.6;
<mask> },
</s> linter rules added and textinput alignment fix </s> re... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
return (Platform.OS==='ios') ? this.fontSizeBase* 1.1 :
this.fontSizeBase-1; | <mask> get fontSizeH3 () {
<mask> return this.fontSizeBase* 1.4;
<mask> },
<mask> get btnTextSize () {
<mask> return (Platform.OS==='ios') ? this.fontSizeBase* 1.1 : this.fontSizeBase-1;
<mask> },
<mask> get btnTextSizeLarge () {
<mask> return this.fontSizeBase* 1.5;... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
buttonPadding: 6, | <mask> get iconSizeSmall () {
<mask> return this.iconFontSize* .6;
<mask> },
<mask>
<mask> buttonPadding: 6,
<mask>
<mask> borderRadiusBase: (Platform.OS === 'ios' ) ? 5 : 2,
<mask>
<mask> get borderRadiusLarge () {
<mask> return this.fontSizeBase* 3.8;
</s> linter rules a... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
toolbarDefaultBg: (Platform.OS === 'ios' ) ? '#F8F8F8' : '#039BE5',
toolbarInverseBg: '#222', | <mask> },
<mask>
<mask> footerHeight: 55,
<mask> toolbarHeight: (Platform.OS === 'ios' ) ? 64 : 56,
<mask> toolbarDefaultBg: (Platform.OS === 'ios' ) ? "#F8F8F8" : "#039BE5",
<mask> toolbarInverseBg: "#222",
<mask>
<mask> iosToolbarBtnColor: "#007aff",
<mask>
<mask> toolbarTextColor: ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
iosToolbarBtnColor: '#007aff', | <mask> toolbarHeight: (Platform.OS === 'ios' ) ? 64 : 56,
<mask> toolbarDefaultBg: (Platform.OS === 'ios' ) ? "#F8F8F8" : "#039BE5",
<mask> toolbarInverseBg: "#222",
<mask>
<mask> iosToolbarBtnColor: "#007aff",
<mask>
<mask> toolbarTextColor: (Platform.OS==='ios') ? '#000' : '#fff',
<mask>
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
toolbarTextColor: (Platform.OS==='ios') ? '#000' : '#fff', | <mask> toolbarInverseBg: "#222",
<mask>
<mask> iosToolbarBtnColor: "#007aff",
<mask>
<mask> toolbarTextColor: (Platform.OS==='ios') ? '#000' : '#fff',
<mask>
<mask> checkboxBgColor: "#039BE5",
<mask> checkboxTickColor: "#fff",
<mask>
<mask> checkboxSize: 23,
</s> linter rules added and textinput... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
checkboxBgColor: '#039BE5',
checkboxTickColor: '#fff', | <mask> iosToolbarBtnColor: "#007aff",
<mask>
<mask> toolbarTextColor: (Platform.OS==='ios') ? '#000' : '#fff',
<mask>
<mask> checkboxBgColor: "#039BE5",
<mask> checkboxTickColor: "#fff",
<mask>
<mask> checkboxSize: 23,
<mask>
<mask> radioColor: "#7e7e7e",
<mask> get radioSelectedColor() {
</s> li... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
checkboxSize: 23, | <mask>
<mask> checkboxBgColor: "#039BE5",
<mask> checkboxTickColor: "#fff",
<mask>
<mask> checkboxSize: 23,
<mask>
<mask> radioColor: "#7e7e7e",
<mask> get radioSelectedColor() {
<mask> return Color(this.radioColor).darken(0.2).hexString();
<mask> },
</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/Themes/light.js |
radioColor: '#7e7e7e',
get radioSelectedColor() {
return Color(this.radioColor).darken(0.2).hexString();
},
radioBtnSize: (Platform.OS === 'ios') ? 25 : 23, | <mask> checkboxTickColor: "#fff",
<mask>
<mask> checkboxSize: 23,
<mask>
<mask> radioColor: "#7e7e7e",
<mask> get radioSelectedColor() {
<mask> return Color(this.radioColor).darken(0.2).hexString();
<mask> },
<mask>
<mask> radioBtnSize: (Platform.OS === 'ios') ? 25 : 23,
<mask>
<mask> tabBgCol... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
tabBgColor: '#F8F8F8',
tabFontSize: 15,
tabTextColor: '#fff', | <mask> },
<mask>
<mask> radioBtnSize: (Platform.OS === 'ios') ? 25 : 23,
<mask>
<mask> tabBgColor: "#F8F8F8",
<mask> tabFontSize: 15,
<mask> tabTextColor: "#fff",
<mask>
<mask> btnDisabledBg: '#b5b5b5',
<mask> btnDisabledClr: '#f1f1f1',
<mask>
<mask> cardDefaultBg: "#fff",
</s> linter rules... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
btnDisabledBg: '#b5b5b5', | <mask> tabBgColor: "#F8F8F8",
<mask> tabFontSize: 15,
<mask> tabTextColor: "#fff",
<mask>
<mask> btnDisabledBg: '#b5b5b5',
<mask> btnDisabledClr: '#f1f1f1',
<mask>
<mask> cardDefaultBg: "#fff",
<mask>
<mask> get darkenHeader() {
</s> linter rules added and textinput alignment fix </s> remove ta... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
cardDefaultBg: '#fff', | <mask>
<mask> btnDisabledBg: '#b5b5b5',
<mask> btnDisabledClr: '#f1f1f1',
<mask>
<mask> cardDefaultBg: "#fff",
<mask>
<mask> get darkenHeader() {
<mask> return Color(this.tabBgColor).darken(0.03).hexString();
<mask> },
<mask> get btnPrimaryBg () {
</s> linter rules added and textinput alignm... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
get darkenHeader() {
return Color(this.tabBgColor).darken(0.03).hexString();
}, | <mask> btnDisabledClr: '#f1f1f1',
<mask>
<mask> cardDefaultBg: "#fff",
<mask>
<mask> get darkenHeader() {
<mask> return Color(this.tabBgColor).darken(0.03).hexString();
<mask> },
<mask> get btnPrimaryBg () {
<mask> return this.brandPrimary;
<mask> },
<mask> get btnPrimaryColor ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
inputBorderColor: '#D9D5DC', | <mask> },
<mask> get inputColorPlaceholder () {
<mask> return '#575757';
<mask> },
<mask> inputBorderColor: "#D9D5DC",
<mask> inputHeightBase: 40,
<mask> inputGroupMarginBottom: 10,
<mask> inputPaddingLeft: 5,
<mask> get inputPaddingLeftIcon () {
<mask> return t... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
dropdownBg: '#000',
dropdownLinkColor: '#414142', | <mask> },
<mask>
<mask> btnLineHeight: 19,
<mask>
<mask> dropdownBg: "#000",
<mask> dropdownLinkColor: "#414142",
<mask>
<mask> jumbotronPadding: 30,
<mask> jumbotronBg: "#C9C9CE",
<mask>
<mask> contentPadding: 10,
</s> linter rules added and textinput alignment fix </s> remo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
jumbotronBg: '#C9C9CE', | <mask> dropdownBg: "#000",
<mask> dropdownLinkColor: "#414142",
<mask>
<mask> jumbotronPadding: 30,
<mask> jumbotronBg: "#C9C9CE",
<mask>
<mask> contentPadding: 10,
<mask>
<mask> listBorderColor: "#ddd",
<mask> listDividerBg: "#ddd",
</s> linter rules added and textinput alignm... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
listBorderColor: '#ddd',
listDividerBg: '#ddd', | <mask> jumbotronBg: "#C9C9CE",
<mask>
<mask> contentPadding: 10,
<mask>
<mask> listBorderColor: "#ddd",
<mask> listDividerBg: "#ddd",
<mask> listItemPadding: 9,
<mask> listNoteColor: "#808080",
<mask> listNoteSize: 13,
<mask>
<mask> iconFontSize: (Platform.OS === 'ios' ) ? 30 ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
listNoteColor: '#808080',
listNoteSize: 13, | <mask>
<mask> listBorderColor: "#ddd",
<mask> listDividerBg: "#ddd",
<mask> listItemPadding: 9,
<mask> listNoteColor: "#808080",
<mask> listNoteSize: 13,
<mask>
<mask> iconFontSize: (Platform.OS === 'ios' ) ? 30 : 28,
<mask>
<mask> badgeColor: "#fff",
<mask> badgeBg: "#ED1727"... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
badgeColor: '#fff',
badgeBg: '#ED1727', | <mask> listNoteSize: 13,
<mask>
<mask> iconFontSize: (Platform.OS === 'ios' ) ? 30 : 28,
<mask>
<mask> badgeColor: "#fff",
<mask> badgeBg: "#ED1727",
<mask>
<mask> lineHeight: (Platform.OS === 'ios' ) ? 20 : 24,
<mask> iconLineHeight: (Platform.OS === 'ios' ) ? 37 : 30,
<mask>
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
toolbarIconSize: (Platform.OS === 'ios' ) ? 20 : 22, | <mask>
<mask> lineHeight: (Platform.OS === 'ios' ) ? 20 : 24,
<mask> iconLineHeight: (Platform.OS === 'ios' ) ? 37 : 30,
<mask>
<mask> toolbarIconSize: (Platform.OS === 'ios' ) ? 20 : 22,
<mask>
<mask> toolbarInputColor: "#CECDD2",
<mask>
<mask> defaultSpinnerColor: "#45D56E",
<mask> inv... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
toolbarInputColor: '#CECDD2', | <mask> iconLineHeight: (Platform.OS === 'ios' ) ? 37 : 30,
<mask>
<mask> toolbarIconSize: (Platform.OS === 'ios' ) ? 20 : 22,
<mask>
<mask> toolbarInputColor: "#CECDD2",
<mask>
<mask> defaultSpinnerColor: "#45D56E",
<mask> inverseSpinnerColor: "#1A191B",
<mask>
<mask> defaultProgressColo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
defaultSpinnerColor: '#45D56E',
inverseSpinnerColor: '#1A191B', | <mask> toolbarIconSize: (Platform.OS === 'ios' ) ? 20 : 22,
<mask>
<mask> toolbarInputColor: "#CECDD2",
<mask>
<mask> defaultSpinnerColor: "#45D56E",
<mask> inverseSpinnerColor: "#1A191B",
<mask>
<mask> defaultProgressColor: "#E4202D",
<mask> inverseProgressColor: "#1A191B"
<mask> }
</s>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
defaultProgressColor: '#E4202D',
inverseProgressColor: '#1A191B' | <mask>
<mask> defaultSpinnerColor: "#45D56E",
<mask> inverseSpinnerColor: "#1A191B",
<mask>
<mask> defaultProgressColor: "#E4202D",
<mask> inverseProgressColor: "#1A191B"
<mask> }
</s> linter rules added and textinput alignment fix </s> remove defaultSpinnerColor: "#45D56E",
inverseSpi... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Themes/light.js |
import Text from './Text';
| <mask> import React from 'react';
<mask> import {View} from 'react-native';
<mask> import NativeBaseComponent from '../Base/NativeBaseComponent';
<mask> import computeProps from '../../Utils/computeProps';
<mask> import Text from "./Text";
<mask>
<mask>
<mask> export default class BadgeNB extends NativeBaseCo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Badge.js |
backgroundColor:this.props.primary ?
this.getTheme().brandPrimary :
this.props.success ?
this.getTheme().brandSuccess :
this.props.info ?
this.getTheme().brand... | <mask> prepareRootProps() {
<mask>
<mask> var type = {
<mask>
<mask> backgroundColor: this.props.primary ? this.getTheme().brandPrimary : this.props.success ? this.getTheme().brandSuccess :
<mask> this.props.info ? this.getTheme().brandInfo : this.props.warning ? this.getThem... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Badge.js |
<Text style={{ color: (this.props.textStyle && this.props.textStyle.color) ? this.props.textStyle.color : this.getTheme().badgeColor,
| <mask> }
<mask> render() {
<mask> return(
<mask> <View {...this.prepareRootProps()}>
<mask> <Text style={{ color: (this.props.textStyle && this.props.textStyle.color) ? this.props.textStyle.color : this.getTheme().badgeColor,
<mask> font... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Badge.js |
var addedProps = _.merge(this.getInitialStyle().button,type);
| <mask> height: (this.props.large) ? 60 : (this.props.small) ? 35 : 38,
<mask> alignSelf: (this.props.block) ? 'stretch' : 'flex-start'
<mask> }
<mask>
<mask> var addedProps = _.merge(this.getInitialStyle().button,type);
<mask>
<mask> var defaultProps = {
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Button.js |
(this.props.color) ? this.props.color :
| <mask> ((this.props.bordered) && (this.props.danger)) ? this.getTheme().btnDangerBg :
<mask> ((this.props.bordered) && (this.props.warning)) ? this.getTheme().btnWarningBg :
<mask> ((this.props.bordered) && (this.props.info)) ? this.getTheme().btnInfoBg :
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Button.js |
(this.props.bordered) ? this.getTheme().btnPrimaryBg :
(this.props.color) ? this.props.color :
| <mask> ((this.props.bordered) && (this.props.success)) ? this.getTheme().btnSuccessBg :
<mask> ((this.props.bordered) && (this.props.danger)) ? this.getTheme().btnDangerBg :
<mask> ((this.props.bordered) && (this.props.warning)) ? this.getTheme().btnWarningBg :
<mask>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Button.js |
if(typeof this.props.children == 'string') {
| <mask> })
<mask> return iconComponentPresent;
<mask> }
<mask> renderChildren() {
<mask> if(typeof this.props.children == "string") {
<mask> return <Text style={this.getTextStyle()}>{(Platform.OS==='ios') ? this.props.children : this.props.children.toUpperCase()}</Text>
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Button.js |
<TouchableOpacity {...this.prepareRootProps()} >
| <mask> }
<mask>
<mask> render() {
<mask> return(
<mask> <TouchableOpacity {...this.prepareRootProps()} >
<mask> {this.renderChildren()}
<mask> </TouchableOpacity>
<mask> );
<mask> }
<mask> }
</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/Button.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 CheckBox extends NativeBaseComponent {
<mask>
<mask> getInitialStyle() {... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Checkbox.js |
<Icon name={(Platform.OS === 'ios') ? 'ios-checkmark-outline' : 'md-checkmark'} style={{color: this.props.checked ? this.getTheme().checkboxTickColor : 'transparent', lineHeight: (Platform.OS === 'ios') ? this.getTheme().checkboxSize/0.93 : this.getTheme().checkboxSize-5, marginTop: (Platform.OS==='ios') ?... | <mask>
<mask> render() {
<mask> return(
<mask> <View style={this.getInitialStyle().checkbox}>
<mask> <Icon name={(Platform.OS === 'ios') ? "ios-checkmark-outline" : "md-checkmark"} style={{color: this.props.checked ? this.getTheme().checkboxTickColor : "transparent", line... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Checkbox.js |
<View>
{this.renderHeader()}
</View> | <mask> render() {
<mask> return(
<mask> <View {...this.prepareRootProps()}>
<mask>
<mask> <View>
<mask> {this.renderHeader()}
<mask> </View>
<mask>
<mask>
<mask> <View style={{flex:1}}>
<mask> {this.renderContent()}
<mask> </View>
</s> linter rules added and textinput ali... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Container.js |
<View style={{flex:1}}>
{this.renderContent()}
</View> | <mask> {this.renderHeader()}
<mask> </View>
<mask>
<mask>
<mask> <View style={{flex:1}}>
<mask> {this.renderContent()}
<mask> </View>
<mask>
<mask> <View>
<mask> {this.renderFooter()}
<mask> </View>
<mask> </View>
</s> linter rules added and textinput alignment fix ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Container.js |
<View>
{this.renderFooter()}
</View> | <mask> <View style={{flex:1}}>
<mask> {this.renderContent()}
<mask> </View>
<mask>
<mask> <View>
<mask> {this.renderFooter()}
<mask> </View>
<mask> </View>
<mask> );
<mask>
<mask> }
<mask>
</s> linter rules added and textinput alignment fix </s> remove <View style={{f... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Container.js |
import Button from './Button';
import View from './View';
import Title from './Title';
import InputGroup from './InputGroup';
import Subtitle from './Subtitle'; | <mask> import React from 'react';
<mask> import { Platform} from 'react-native';
<mask> import NativeBaseComponent from '../Base/NativeBaseComponent';
<mask> import computeProps from '../../Utils/computeProps';
<mask> import Button from "./Button";
<mask> import View from "./View";
<mask> import Title from "./Ti... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js |
backgroundColor: '#fff', | <mask> borderColor: 'transparent',
<mask> flex:1
<mask> },
<mask> androidToolbarSearch: {
<mask> backgroundColor: "#fff",
<mask> borderRadius: 2,
<mask> borderColor: 'transparent',
<mask> elev... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js |
{React.cloneElement(input[0],{style: this.getInitialStyle().iosToolbarSearch, toolbar : true, key : 'inp'})}
</View>)
newChildren.push(<View key='searchBtn' style={{alignItems: 'center', justifyContent: 'center', flexDirection: 'row', marginRight: ... | <mask>
<mask> if (this.props.searchBar) {
<mask> if (Platform.OS === 'ios') {
<mask> newChildren.push(<View key='search' style={{flex: 1, alignSelf: 'center', justifyContent: 'flex-start', flexDirection: 'row', marginLeft: -7}}>
<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/Header.js |
<mask> for (let i = 1; i < buttons.length; i++) {
<mask> newChildren.push(<View key={'btn' + (i+1)} style={{alignItems: 'center', justifyContent: 'flex-start', flexDirection: 'row', marginRight: -14}}>
<mask> {React.cloneElement(buttons[... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js | |
newChildren.push(<View key='search' style={{flex: 1,alignSelf: 'center', justifyContent: 'flex-start', flexDirection: 'row', marginLeft: -8, marginRight: -8}}>
{React.cloneElement(input[0],{style: this.getInitialStyle().androidToolbarSearch, atoolbar : true})}
... | <mask> {React.cloneElement(buttons[i], {color: this.getTheme().iosToolbarBtnColor, style: this.getInitialStyle().toolbarButton})}
<mask> </View>)
<mask> }
<mask> } else {
<mask> newChildren.push(... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js |
if (Platform.OS === 'ios') {
newChildren.push(<View key='btn1' style={{alignItems: 'center', justifyContent: 'flex-start', flexDirection: 'row', marginLeft: -14}}>
{React.cloneElement(buttons[0], {color: this.getTheme().iosToolbarBtnColor, style: this.... | <mask> newChildren.push(<Button key='fakeBtn' transparent textStyle={{color:'transparent'}}>aa</Button>)
<mask> }
<mask> }
<mask> else {
<mask> newChildren.push(<View key='btn1' style={{alignItems: 'center', justifyCont... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js |
} | <mask> newChildren.push(<View key={'btn' + (i+1)} style={{alignItems: 'center', justifyContent: 'flex-start', flexDirection: 'row', marginRight: -7}}>
<mask> {React.cloneElement(buttons[i], {style: this.getInitialStyle().toolbarButton, header : true, textStyle: ... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js |
<mask> {React.cloneElement(buttons[i], {style: this.getInitialStyle().toolbarButton, header : true, textStyle: {color: this.getTheme().toolbarTextColor}})}
<mask> </View>)
<mask>
<mask> }
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js | |
}
return newChildren; | <mask> }
<mask>
<mask> }
<mask> }
<mask>
<mask> render() {
<mask> return(
</s> linter rules added and textinput alignment fix </s> remove render() {
return(
</s> add render() {
return( </s> remove return new... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js |
<mask> }
<mask> }
<mask>
<mask> }
<mask> return newChildren;
<mask> }
<mask> }
<mask>
<mask> render() {
<mask> return(
</s> linter rules added and textinput alignment fix </s> remove render() {
return(
</s> add ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js | |
<mask>
<mask> }
<mask> return newChildren;
<mask> }
<mask> }
<mask>
<mask> render() {
<mask> return(
<mask> <View {...this.prepareRootProps()} >
<mask> {this.renderChildren()}
</s> linter rules added and textinput alignment fix </s> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js | |
render() {
return( | <mask> return newChildren;
<mask> }
<mask> }
<mask>
<mask> render() {
<mask> return(
<mask> <View {...this.prepareRootProps()} >
<mask> {this.renderChildren()}
<mask> </View>
<mask> );
<mask> }
</s> linter rules added and... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js |
{this.renderChildren()} | <mask>
<mask> render() {
<mask> return(
<mask> <View {...this.prepareRootProps()} >
<mask> {this.renderChildren()}
<mask> </View>
<mask> );
<mask> }
<mask> }
</s> linter rules added and textinput alignment fix </s> remove render() {
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Header.js |
import variables from '../Themes/light'; | <mask> import React from 'react';
<mask> import NativeBaseComponent from '../Base/NativeBaseComponent';
<mask> import computeProps from '../../Utils/computeProps';
<mask>
<mask> import variables from "../Themes/light";
<mask>
<mask> import Ionicons from 'react-native-vector-icons/Ionicons';
<mask> import Enty... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Icon.js |
case 'Ionicons': | <mask>
<mask> var Icon;
<mask>
<mask> switch(variables.iconFamily) {
<mask> case "Ionicons":
<mask> Icon = Ionicons;
<mask> break;
<mask> case "Entypo":
<mask> Icon = Entypo;
<mask> break;
</s> linter rules added and textinput alignment fix </s> remove break;
case "E... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Icon.js |
break;
case 'Entypo': | <mask>
<mask> switch(variables.iconFamily) {
<mask> case "Ionicons":
<mask> Icon = Ionicons;
<mask> break;
<mask> case "Entypo":
<mask> Icon = Entypo;
<mask> break;
<mask> case "FontAwesome":
<mask> Icon = FontAwesome;
<mask> break;
</s> linter rules added an... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Icon.js |
break;
case 'FontAwesome': | <mask> Icon = Ionicons;
<mask> break;
<mask> case "Entypo":
<mask> Icon = Entypo;
<mask> break;
<mask> case "FontAwesome":
<mask> Icon = FontAwesome;
<mask> break;
<mask> case "Foundation":
<mask> Icon = Foundation;
<mask> break;
</s> linter rules ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Icon.js |
break;
case 'Foundation': | <mask> Icon = Entypo;
<mask> break;
<mask> case "FontAwesome":
<mask> Icon = FontAwesome;
<mask> break;
<mask> case "Foundation":
<mask> Icon = Foundation;
<mask> break;
<mask> case "MaterialIcons":
<mask> Icon = MaterialIcons;
<mask> break;
</s> l... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Icon.js |
break;
case 'MaterialIcons': | <mask> Icon = FontAwesome;
<mask> break;
<mask> case "Foundation":
<mask> Icon = Foundation;
<mask> break;
<mask> case "MaterialIcons":
<mask> Icon = MaterialIcons;
<mask> break;
<mask> case "Octicons":
<mask> Icon = Octicons;
<mask> break;
</s> li... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/19e19230a7766fc329cb10c0a8786167cb819600 | Components/Widgets/Icon.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.