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
customPosition,
<mask> customOutline, <mask> customLayout, <mask> customExtra, <mask> customShadow, <mask> } from '../../../utils/customProps'; <mask> <mask> import type { IModalProps, IModalSemiProps } from './props'; <mask> import { <mask> default as CloseButton, <mask> ICloseButtonProps, </s> Added position ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/composites/Modal/index.tsx
position, customPosition,
<mask> layout, <mask> flexbox, <mask> border, <mask> customBorder, <mask> customBackground, <mask> customOutline, <mask> customShadow, <mask> customExtra, <mask> customLayout </s> Added position props in all components
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/composites/Modal/index.tsx
PositionProps,
<mask> FlexboxProps, <mask> LayoutProps, <mask> SpaceProps, <mask> } from 'styled-system'; <mask> import type { <mask> customBorderProps, <mask> customBackgroundProps, </s> Added position props in all components </s> remove import type { ColorProps, SpaceProps, TypographyProps } from 'styled-system'; ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/composites/Modal/props.ts
PositionProps &
<mask> SpaceProps & <mask> LayoutProps & <mask> FlexboxProps & <mask> customBorderProps & <mask> customExtraProps & <mask> customOutlineProps & <mask> customShadowProps & <mask> customLayoutProps & <mask> customBackgroundProps & </s> Added position props in all components
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/composites/Modal/props.ts
import { border, color, flexbox, layout, space, position } from 'styled-system';
<mask> import isNil from 'lodash/isNil'; <mask> import React from 'react'; <mask> import styled from 'styled-components/native'; <mask> import { border, color, flexbox, layout, space } from 'styled-system'; <mask> import { <mask> customBorder, <mask> customBackground, <mask> customOutline, <mask> custo...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/composites/Wrap/index.tsx
customPosition,
<mask> customLayout, <mask> customExtra, <mask> customShadow, <mask> customFlexBox, <mask> } from '../../../utils/customProps'; <mask> import type { IWrapProps } from './props'; <mask> import { usePropsConfig } from '../../../hooks'; <mask> import Box from '../../primitives/Box'; <mask> </s> Added po...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/composites/Wrap/index.tsx
position, customPosition,
<mask> space, <mask> layout, <mask> flexbox, <mask> border, <mask> customBorder, <mask> customBackground, <mask> customOutline, <mask> customShadow, <mask> customExtra, </s> Added position props in all components
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/composites/Wrap/index.tsx
PositionProps,
<mask> BorderProps, <mask> ColorProps, <mask> FlexboxProps, <mask> LayoutProps, <mask> SpaceProps, <mask> } from 'styled-system'; <mask> <mask> import type { </s> Added position props in all components </s> remove import type { ColorProps, SpaceProps, TypographyProps } from 'styled-system'; </s> ad...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/composites/Wrap/props.ts
customPositionProps,
<mask> customExtraProps, <mask> customShadowProps, <mask> customFlexboxProps, <mask> } from '../../../utils/customProps'; <mask> <mask> export type IWrapProps = ViewProps & <mask> ColorProps & <mask> SpaceProps & </s> Added position props in all components
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/composites/Wrap/props.ts
PositionProps &
<mask> LayoutProps & <mask> FlexboxProps & <mask> customBorderProps & <mask> customExtraProps & <mask> customOutlineProps & <mask> customShadowProps & <mask> customLayoutProps & <mask> customBackgroundProps & </s> Added position props in all components
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/composites/Wrap/props.ts
customPositionProps &
<mask> customLayoutProps & <mask> customBackgroundProps & <mask> customFlexboxProps & <mask> BorderProps & { <mask> style?: ViewStyle; <mask> children?: JSX.Element | JSX.Element[]; <mask> direction?: CSS.Property.FlexDirection | undefined; <mask> align?: CSS.Property.AlignItems | undefi...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/composites/Wrap/props.ts
customPositionProps,
<mask> customShadowProps, <mask> customTypographyProps, <mask> customTransformProps, <mask> customFlexboxProps, <mask> } from '../../../utils/customProps'; <mask> <mask> export type IBoxProps = ViewProps & <mask> ColorProps & </s> Added position props in all components
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Box/props.ts
customPositionProps &
<mask> TypographyProps & <mask> PositionProps & <mask> customBorderProps & <mask> customExtraProps & <mask> customOutlineProps & <mask> customShadowProps & <mask> customLayoutProps & <mask> customTypographyProps & </s> Added position props in all components
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Box/props.ts
position,
<mask> layout, <mask> space, <mask> typography, <mask> } from 'styled-system'; <mask> import { <mask> customBorder, <mask> customBackground, <mask> customOutline, </s> Added position props in all components </s> remove import { color, space, typography } from 'styled-system'; </s> add import { b...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Heading/index.tsx
customPosition,
<mask> customShadow, <mask> customTypography, <mask> } from '../../../utils/customProps'; <mask> import { usePropsConfig } from '../../../hooks'; <mask> import type { IHeadingProps } from './props'; <mask> <mask> const StyledHeading = styled(Text)<IHeadingProps>( <mask> color, </s> Added position props ...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Heading/index.tsx
position, customPosition,
<mask> border, <mask> typography, <mask> customBorder, <mask> customBackground, <mask> customOutline, <mask> customShadow, <mask> customExtra, <mask> customLayout, </s> Added position props in all components </s> remove const styledIcon = styled(Icon)<IIconProps>(color, space, typography); </s...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Heading/index.tsx
PositionProps,
<mask> ColorProps, <mask> FlexboxProps, <mask> LayoutProps, <mask> SpaceProps, <mask> TypographyProps, <mask> } from 'styled-system'; <mask> import type { <mask> customBorderProps, </s> Added position props in all components </s> remove import type { ColorProps, SpaceProps, TypographyProps } from '...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Heading/props.ts
customPositionProps,
<mask> customLayoutProps, <mask> customExtraProps, <mask> customShadowProps, <mask> customTypographyProps, <mask> } from '../../../utils/customProps'; <mask> <mask> export type IHeadingProps = ColorProps & <mask> SpaceProps & <mask> LayoutProps & <mask> FlexboxProps & </s> Added position props...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Heading/props.ts
PositionProps & customPositionProps &
<mask> FlexboxProps & <mask> TypographyProps & <mask> customBorderProps & <mask> customExtraProps & <mask> customOutlineProps & <mask> customShadowProps & <mask> customLayoutProps & </s> Added position props in all components
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Heading/props.ts
import { border, color, flexbox, layout, space, typography, position, } from 'styled-system'; import { customBorder, customBackground, customOutline, customLayout, customExtra, customShadow, customTypography, customPosition, } from '../../../utils/customProps';
<mask> import React from 'react'; <mask> import { StyleSheet, TextStyle } from 'react-native'; <mask> import { color, space, typography } from 'styled-system'; <mask> import { usePropsConfig } from '../../../hooks'; <mask> import styled from 'styled-components/native'; <mask> import AntDesign from 'react-native-v...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Icon/index.tsx
const styledIcon = styled(Icon)<IIconProps>( color, space, layout, flexbox, border, typography, position, customPosition, customBorder, customBackground, customOutline, customShadow, customExtra, customLayout, customTypography );
<mask> ); <mask> } <mask> }; <mask> <mask> const styledIcon = styled(Icon)<IIconProps>(color, space, typography); <mask> <mask> export default styledIcon; <mask> export { Path }; <mask> export type { IIconProps, IconType }; <mask> export { createIcon } from './createIcon'; </s> Added position props...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Icon/index.tsx
import type { BorderProps, ColorProps, FlexboxProps, LayoutProps, SpaceProps, TypographyProps, PositionProps, } from 'styled-system'; import type { customBorderProps, customBackgroundProps, customOutlineProps, customLayoutProps, customExtraProps, customShadowProps, customTypographyProps, c...
<mask> import type { TextStyle } from 'react-native'; <mask> import type { ColorProps, SpaceProps, TypographyProps } from 'styled-system'; <mask> <mask> export type IconType = <mask> | 'AntDesign' <mask> | 'Entypo' <mask> | 'EvilIcons' </s> Added position props in all components </s> remove import { Bo...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Icon/props.ts
export type IIconProps = ColorProps & SpaceProps & LayoutProps & FlexboxProps & TypographyProps & PositionProps & customBorderProps & customPositionProps & customExtraProps & customOutlineProps & customShadowProps & customLayoutProps & customTypographyProps & customBackgroundProps & customTr...
<mask> | 'Octicons' <mask> | 'SimpleLineIcons' <mask> | 'Zocial'; <mask> <mask> export type IIconProps = TypographyProps & <mask> ColorProps & <mask> SpaceProps & { <mask> name?: string; <mask> type?: IconType; <mask> style?: TextStyle; <mask> viewBox?: string; <mask> size?: s...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Icon/props.ts
import { TouchableWithoutFeedback, StyleSheet } from 'react-native'; import View from './../View';
<mask> import React from 'react'; <mask> import { View, TouchableWithoutFeedback, StyleSheet } from 'react-native'; <mask> import styled from 'styled-components/native'; <mask> import { border, color, flexbox, layout, space } from 'styled-system'; <mask> import { <mask> customBorder, <mask> customBackground,...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Link/index.tsx
<mask> import React from 'react'; <mask> import { View, TouchableWithoutFeedback, StyleSheet } from 'react-native'; <mask> import styled from 'styled-components/native'; <mask> import { border, color, flexbox, layout, space } from 'styled-system'; <mask> import { <mask> customBorder, <mask> customBackground,...
[ "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Link/index.tsx
const StyledLink = styled(View)<ILinkProps>({});
<mask> import Box from '../Box'; <mask> import { usePropsConfig } from '../../../hooks'; <mask> import { useLink } from './useLink'; <mask> <mask> const StyledLink = styled(View)<ILinkProps>( <mask> color, <mask> space, <mask> layout, <mask> flexbox, <mask> border, <mask> customBorder, <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/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Link/index.tsx
<mask> import React from 'react'; <mask> import { ViewProps, View } from 'react-native'; <mask> import styled from 'styled-components/native'; <mask> import { <mask> BorderProps, <mask> ColorProps, <mask> FlexboxProps, </s> Added position props in all components </s> remove import { ViewProps, View } from...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Stack/index.tsx
import { IViewProps, default as View } from '../View';
<mask> import React from 'react'; <mask> import { ViewProps, View } from 'react-native'; <mask> import styled from 'styled-components/native'; <mask> import { <mask> BorderProps, <mask> ColorProps, <mask> FlexboxProps, <mask> LayoutProps, <mask> SpaceProps, <mask> border, <mask> color, <mask> ...
[ "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Stack/index.tsx
<mask> } from 'styled-system'; <mask> <mask> import { getSpacedChildren } from '../../../utils'; <mask> <mask> export type IStackProps = <mask> | ColorProps <mask> | SpaceProps <mask> | LayoutProps <mask> | FlexboxProps <mask> | BorderProps; <mask> <mask> const StyledStack = styled(View)<IStack...
[ "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/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Stack/index.tsx
const StyledStack = styled(View)<IStackProps>({}); export type IStackProps = IViewProps & { children: JSX.Element[] | JSX.Element; divider?: JSX.Element; space?: number | SpaceType; reversed?: boolean; };
<mask> border <mask> ); <mask> type SpaceType = 'gutter' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'; <mask> <mask> export type StackProps = IStackProps & <mask> ViewProps & { <mask> children: JSX.Element[] | JSX.Element; <mask> divider?: JSX.Element; <mask> space?: number | SpaceType; ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Stack/index.tsx
const Stack = (props: IStackProps & { direction?: 'column' | 'row' }) => {
<mask> space?: number | SpaceType; <mask> reversed?: boolean; <mask> }; <mask> <mask> const Stack = (props: StackProps & { direction?: 'column' | 'row' }) => { <mask> const { <mask> space, <mask> children, <mask> divider, <mask> reversed, </s> Added position props in all componen...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Stack/index.tsx
export const VStack = (props: IStackProps) => {
<mask> </StyledStack> <mask> ); <mask> }; <mask> <mask> export const VStack = (props: StackProps) => { <mask> return Stack(props); <mask> }; <mask> export const HStack = (props: StackProps) => { <mask> return Stack({ ...props, direction: 'row' }); <mask> }; </s> Added position props in all compone...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Stack/index.tsx
export const HStack = (props: IStackProps) => {
<mask> <mask> export const VStack = (props: StackProps) => { <mask> return Stack(props); <mask> }; <mask> export const HStack = (props: StackProps) => { <mask> return Stack({ ...props, direction: 'row' }); <mask> }; <mask> export default Stack; </s> Added position props in all components </s> remove expor...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Stack/index.tsx
import { border, color, flexbox, layout, space, position } from 'styled-system';
<mask> import { StyleSheet, ViewStyle, Switch as RNSwitch } from 'react-native'; <mask> import styled from 'styled-components/native'; <mask> import isNil from 'lodash/isNil'; <mask> import { useToken, usePropsConfig } from '../../../hooks'; <mask> import { border, color, flexbox, layout, space } from 'styled-syst...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Switch/index.tsx
customPosition,
<mask> customOutline, <mask> customLayout, <mask> customExtra, <mask> customShadow, <mask> } from '../../../utils/customProps'; <mask> import type { ISwitchProps } from './props'; <mask> <mask> const StyledNBSwitch = styled(RNSwitch)<ISwitchProps>( </s> Added position props in all components </s> remo...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Switch/index.tsx
position, customPosition,
<mask> space, <mask> layout, <mask> flexbox, <mask> border, <mask> customBorder, <mask> customBackground, <mask> customOutline, <mask> customShadow, <mask> customExtra, </s> Added position props in all components
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Switch/index.tsx
PositionProps,
<mask> ColorProps, <mask> FlexboxProps, <mask> LayoutProps, <mask> SpaceProps, <mask> } from 'styled-system'; <mask> <mask> import type { <mask> customBorderProps, <mask> customBackgroundProps, </s> Added position props in all components </s> remove import type { ColorProps, SpaceProps, Typograph...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Switch/props.ts
customPositionProps,
<mask> customLayoutProps, <mask> customExtraProps, <mask> customShadowProps, <mask> } from '../../../utils/customProps'; <mask> <mask> export type ISwitchProps = SwitchProps & <mask> ColorProps & </s> Added position props in all components </s> remove import type { ColorProps, SpaceProps, TypographyPro...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Switch/props.ts
PositionProps & customPositionProps &
<mask> SpaceProps & <mask> LayoutProps & <mask> FlexboxProps & <mask> customBorderProps & <mask> customExtraProps & <mask> customOutlineProps & <mask> customShadowProps & </s> Added position props in all components
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Switch/props.ts
customPosition,
<mask> customShadow, <mask> customTypography, <mask> } from '../../../utils/customProps'; <mask> import type { ITextProps } from './props'; <mask> <mask> const StyledText = styled(NativeText)<ITextProps>( <mask> color, </s> Added position props in all components </s> remove import { border, color, flexbo...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Text/index.tsx
position, customPosition,
<mask> border, <mask> typography, <mask> customBorder, <mask> customBackground, <mask> customOutline, <mask> customShadow, <mask> customExtra, <mask> customLayout, </s> Added position props in all components
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Text/index.tsx
customPositionProps,
<mask> customShadowProps, <mask> customTypographyProps, <mask> } from '../../../utils/customProps'; <mask> const sizes = ['xs', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', '4xl', '5xl', '6xl']; <mask> <mask> export type ITextProps = ColorProps & <mask> SpaceProps & <mask> PositionProps & </s> Added position...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Text/props.tsx
PositionProps &
<mask> SpaceProps & <mask> PositionProps & <mask> TypographyProps & <mask> customPositionProps & <mask> customBorderProps & <mask> customExtraProps & <mask> customOutlineProps & <mask> customShadowProps & </s> Added position props in all components
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Text/props.tsx
customPositionProps &
<mask> PositionProps & <mask> TypographyProps & <mask> customBorderProps & <mask> customExtraProps & <mask> customOutlineProps & <mask> customShadowProps & <mask> customLayoutProps & </s> Added position props in all components
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/Text/props.tsx
position,
<mask> color, <mask> flexbox, <mask> layout, <mask> space, <mask> } from 'styled-system'; <mask> import { View as RNView, ViewProps } from 'react-native'; <mask> import { <mask> customBorder, <mask> customBackground, <mask> customOutline, </s> Added position props in all components </s> remove ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/View/index.tsx
customPosition,
<mask> customExtra, <mask> customShadow, <mask> customTypography, <mask> } from '../../../utils/customProps'; <mask> import type { <mask> customBorderProps, <mask> customBackgroundProps, </s> Added position props in all components </s> remove import type { ColorProps, SpaceProps, TypographyProps } fro...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/View/index.tsx
customPositionProps,
<mask> customShadowProps, <mask> customTypographyProps, <mask> customTransformProps, <mask> customFlexboxProps, <mask> } from '../../../utils/customProps'; <mask> <mask> export type IViewProps = ViewProps & <mask> ColorProps & <mask> SpaceProps & <mask> LayoutProps & </s> Added position props ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/View/index.tsx
customPositionProps &
<mask> customTypographyProps & <mask> customBackgroundProps & <mask> customTransformProps & <mask> customFlexboxProps & <mask> BorderProps; <mask> <mask> const View: any = styled(RNView)<IViewProps>( <mask> color, <mask> space, </s> Added position props in all components </s> remove export type...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/View/index.tsx
position, customPosition,
<mask> flexbox, <mask> border, <mask> customBorder, <mask> customBackground, <mask> customOutline, <mask> customShadow, </s> Added position props in all components
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/View/index.tsx
import { IViewProps, default as View } from '../View';
<mask> import React from 'react'; <mask> import { ViewProps, View } from 'react-native'; <mask> import styled from 'styled-components/native'; <mask> import { <mask> BorderProps, <mask> ColorProps, <mask> FlexboxProps, </s> Added position props in all components </s> remove import { ViewProps, View } from...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/ZStack/index.tsx
<mask> import React from 'react'; <mask> import { ViewProps, View } from 'react-native'; <mask> import styled from 'styled-components/native'; <mask> import { <mask> BorderProps, <mask> ColorProps, <mask> FlexboxProps, <mask> LayoutProps, <mask> SpaceProps, <mask> border, <mask> color, <mask> ...
[ "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/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/ZStack/index.tsx
export type IZStackProps = IViewProps & { children: JSX.Element[] | JSX.Element; reversed?: boolean; };
<mask> } from 'styled-system'; <mask> <mask> import { getAbsoluteChildren } from '../../../utils'; <mask> <mask> export type IZStackProps = <mask> | ColorProps <mask> | SpaceProps <mask> | LayoutProps <mask> | FlexboxProps <mask> | BorderProps; <mask> <mask> const StyledZStack = styled(View)<IZ...
[ "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/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/ZStack/index.tsx
const StyledZStack = styled(View)<IZStackProps>({});
<mask> border, <mask> position <mask> ); <mask> <mask> type ZStackProps = IZStackProps & <mask> ViewProps & { <mask> children: JSX.Element[] | JSX.Element; <mask> reversed?: boolean; <mask> }; <mask> <mask> const ZStack = ({ children, reversed, ...props }: ZStackProps) => { <mask> return...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/ZStack/index.tsx
const ZStack = ({ children, reversed, ...props }: IZStackProps) => {
<mask> children: JSX.Element[] | JSX.Element; <mask> reversed?: boolean; <mask> }; <mask> <mask> const ZStack = ({ children, reversed, ...props }: ZStackProps) => { <mask> return ( <mask> <StyledZStack {...props}> <mask> {getAbsoluteChildren(children, reversed)} <mask> </StyledZStack...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/33358caff6992d51f9beedeaa40d69f5054edab2
src/components/primitives/ZStack/index.tsx
import { Badge, HStack, Button, Text } from 'native-base';
<mask> import React from 'react'; <mask> import { Badge, HStack, Button } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <HStack> <mask> <Button colorScheme="teal"> </s> Fixes for button and badge theme </s> remove import { Badge, HStack } from 'native-base'; ...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
example/storybook/stories/components/composites/Badge/composition.tsx
<mask> <Button colorScheme="teal"> <mask> Notifications <mask> <Badge ml={2}>10</Badge> <mask> </Button> <mask> {/* <IconButton <mask> colorScheme="blue" <mask> variant="outline" <mask> icon={<Icon name={'search'} />} <mask> > <mask> <Bad...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
example/storybook/stories/components/composites/Badge/composition.tsx
import { Badge, HStack, VStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Badge, HStack } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <HStack> <mask> <Badge mx={2} colorScheme="success" variant="solid"> </s> Fixes for button and badge theme </s> remove <HStack> <Badge mx...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
example/storybook/stories/components/composites/Badge/variants.tsx
<VStack> {['solid', 'outline', 'subtle'].map((key: any) => ( <HStack> <Badge m={2}>Default</Badge> <Badge m={2} colorScheme="success" variant={key}> SUCCESS </Badge> <Badge m={2} colorScheme="danger" variant={key}> DANGER </Badg...
<mask> import { Badge, HStack } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <HStack> <mask> <Badge mx={2} colorScheme="success" variant="solid"> <mask> SOLID <mask> </Badge> <mask> <Badge mx={2} colorScheme="success"> <mask> SU...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
example/storybook/stories/components/composites/Badge/variants.tsx
import Icon from '../../../primitives/Icon';
<mask> import React from 'react'; <mask> import { Icon } from '../../../primitives'; <mask> import { Circle, G } from 'react-native-svg'; <mask> <mask> export function Default(props: any) { <mask> return ( <mask> <Icon color={props.color} viewBox="0 0 64 64" size={props.size}> </s> Fixes for button and b...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/components/primitives/Spinner/variants/default.tsx
import Icon from '../../../primitives/Icon';
<mask> import React from 'react'; <mask> import { Icon } from '../../../primitives'; <mask> import { Path } from 'react-native-svg'; <mask> <mask> export function Dotted(props: any) { <mask> return ( <mask> <Icon color={props.color} viewBox="0 0 66.238 69" size={props.size}> </s> Fixes for button and bad...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/components/primitives/Spinner/variants/dotted.tsx
import Icon from '../../../primitives/Icon';
<mask> import React from 'react'; <mask> import { Icon } from '../../../primitives'; <mask> import { Circle, Ellipse } from 'react-native-svg'; <mask> <mask> export function MultiColorDotted(props: any) { <mask> return ( <mask> <Icon color={props.color} viewBox="0 0 74.072 74.072" size={props.size}> </s>...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/components/primitives/Spinner/variants/multiColorDotted.tsx
import Icon from '../../../primitives/Icon';
<mask> import React from 'react'; <mask> import { Icon } from '../../../primitives'; <mask> import { Circle, G } from 'react-native-svg'; <mask> <mask> export function SquareDotted(props: any) { <mask> return ( <mask> <Icon color={props.color} viewBox="0 0 50 50" size={props.size}> </s> Fixes for button ...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/components/primitives/Spinner/variants/squareDotted.tsx
import Icon from '../../../primitives/Icon';
<mask> import React from 'react'; <mask> import { Icon } from '../../../primitives'; <mask> import { Path, G } from 'react-native-svg'; <mask> <mask> export function Stroked(props: any) { <mask> return ( <mask> <Icon color={props.color} viewBox="0 0 69.672 69.672" size={props.size}> </s> Fixes for button...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/components/primitives/Spinner/variants/stroked.tsx
bg: mode(`${colorScheme}.500`, `${colorScheme}.100`)(props), color: mode(`${colorScheme}.100`, `${colorScheme}.500`)(props),
<mask> <mask> function variantSolid(props: Record<string, any>) { <mask> let colorScheme = getColorScheme(props); <mask> return { <mask> bg: mode(`${colorScheme}.700`, `${colorScheme}.100`)(props), <mask> color: mode(`${colorScheme}.100`, `${colorScheme}.700`)(props), <mask> borderWidth: 1, <ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/theme/components/badge.ts
bg: mode(`${colorScheme}.100`, `${colorScheme}.500`)(props),
<mask> <mask> function variantSubtle(props: Record<string, any>) { <mask> let colorScheme = getColorScheme(props); <mask> return { <mask> bg: mode(`${colorScheme}.100`, `${colorScheme}.700`)(props), <mask> color: mode(`${colorScheme}.700`, `${colorScheme}.100`)(props), <mask> borderWidth: 1, <m...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/theme/components/badge.ts
borderColor: mode(`${colorScheme}.500`, `${colorScheme}.100`)(props), color: mode(`${colorScheme}.500`, `${colorScheme}.100`)(props),
<mask> <mask> function variantOutline(props: Record<string, any>) { <mask> let colorScheme = getColorScheme(props); <mask> return { <mask> borderColor: mode(`${colorScheme}.700`, `${colorScheme}.100`)(props), <mask> color: mode(`${colorScheme}.700`, `${colorScheme}.100`)(props), <mask> borderWid...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/theme/components/badge.ts
color: mode(`gray.500`, `whiteAlpha.900`)(props),
<mask> function variantGhost(props: Dict) { <mask> const { colorScheme: c } = props; <mask> if (c === 'gray') { <mask> return { <mask> color: mode(`gray.600`, `whiteAlpha.900`)(props), <mask> }; <mask> } <mask> <mask> return { <mask> color: mode(`${c}.600`, `${c}.200`)(props), </s>...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/theme/components/button.ts
color: mode(`${c}.500`, `${c}.200`)(props),
<mask> }; <mask> } <mask> <mask> return { <mask> color: mode(`${c}.600`, `${c}.200`)(props), <mask> bg: 'transparent', <mask> }; <mask> } <mask> <mask> function variantOutline(props: Dict) { </s> Fixes for button and badge theme </s> remove color: mode(`gray.600`, `whiteAlpha.900`)(...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/theme/components/button.ts
c === 'gray' ? borderColor : mode(`${c}.500`, `${c}.200`)(props),
<mask> const borderColor = mode(`gray.200`, `whiteAlpha.300`)(props); <mask> return { <mask> border: '1px solid', <mask> borderColor: <mask> c === 'gray' ? borderColor : mode(`${c}.600`, `${c}.200`)(props), <mask> ...variantGhost(props), <mask> }; <mask> } <mask> <mask> type Accessibl...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/theme/components/button.ts
const { bg = `${c}.500`, color = 'white' } = accessibleColorMap[c] || {};
<mask> if (c === 'gray') <mask> return { <mask> bg: mode(`gray.100`, `whiteAlpha.200`)(props), <mask> }; <mask> const { bg = `${c}.700`, color = 'white' } = accessibleColorMap[c] || {}; <mask> return { <mask> bg: mode(bg, `${c}.700`)(props), <mask> color: mode(color, `gray.800`)(prop...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/theme/components/button.ts
bg: mode(bg, `${c}.400`)(props),
<mask> bg: mode(`gray.100`, `whiteAlpha.200`)(props), <mask> }; <mask> const { bg = `${c}.700`, color = 'white' } = accessibleColorMap[c] || {}; <mask> return { <mask> bg: mode(bg, `${c}.700`)(props), <mask> color: mode(color, `gray.800`)(props), <mask> }; <mask> } <mask> <mask> funct...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/335f98d962eea6796654c718d6b884492c14905c
src/theme/components/button.ts
Center,
<mask> Icon, <mask> ColorMode, <mask> useColorModeValue, <mask> } from 'native-base'; <mask> import type { StorageManager } from 'native-base'; <mask> import { Button } from 'react-native'; <mask> import AsyncStorage from '@react-native-async-storage/async-storage'; </s> fix: position prop in fab </s> rem...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/Wrapper.tsx
<Center
<mask> <mask> function MyWrapper({ children }: any) { <mask> const { colorMode, toggleColorMode } = useColorMode(); <mask> return ( <mask> <View <mask> flex={1} <mask> justifyContent="center" <mask> alignItems="center" <mask> bg={useColorModeValue(`gray.50`, `gray.800`)} <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/Wrapper.tsx
// justifyContent="center" // alignItems="center"
<mask> const { colorMode, toggleColorMode } = useColorMode(); <mask> return ( <mask> <View <mask> flex={1} <mask> justifyContent="center" <mask> alignItems="center" <mask> bg={useColorModeValue(`gray.50`, `gray.800`)} <mask> > <mask> <IconButton <mask> positio...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/Wrapper.tsx
</Center>
<mask> /> <mask> } <mask> /> <mask> {children} <mask> </View> <mask> ); <mask> } <mask> <mask> export function RenderTestButton() { <mask> const [state, setState] = React.useState(1); </s> fix: position prop in fab </s> remove placement={'bottomRight'} </s> add...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/Wrapper.tsx
placement={'bottom-right'}
<mask> export default function () { <mask> return ( <mask> <> <mask> <Fab <mask> placement={'bottomRight'} <mask> bg="teal.200" <mask> icon={<Icon name="plus" type="AntDesign" />} <mask> /> <mask> <Fab <mask> bg="teal.200" </s> fix: position prop in fab...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Fab/Basic.tsx
<Center size={20} bg="red.200">
<mask> import { Wrap, Center } from 'native-base'; <mask> export default function () { <mask> return ( <mask> <Wrap spacing={10} align="center" direction="row"> <mask> <Center w="100px" h="80px" bg="red.200"> <mask> Box 1 <mask> </Center> <mask> <Center w="100px" h="40px" bg="gre...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/AlignmentAlign.tsx
<Center size={16} bg="green.200">
<mask> <Wrap spacing={10} align="center" direction="row"> <mask> <Center w="100px" h="80px" bg="red.200"> <mask> Box 1 <mask> </Center> <mask> <Center w="100px" h="40px" bg="green.200"> <mask> Box 2 <mask> </Center> <mask> <Center w="100px" h="60px" bg="tomato">...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/AlignmentAlign.tsx
<Center size={12} bg="tomato">
<mask> </Center> <mask> <Center w="100px" h="40px" bg="green.200"> <mask> Box 2 <mask> </Center> <mask> <Center w="100px" h="60px" bg="tomato"> <mask> Box 3 <mask> </Center> <mask> <Center w="180px" h="80px" bg="blue.200"> <mask> Box 4 <mask> <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/AlignmentAlign.tsx
<Center size={10} bg="blue.200">
<mask> </Center> <mask> <Center w="100px" h="60px" bg="tomato"> <mask> Box 3 <mask> </Center> <mask> <Center w="180px" h="80px" bg="blue.200"> <mask> Box 4 <mask> </Center> <mask> </Wrap> <mask> ); <mask> } </s> fix: position prop in fab </s> remove <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/AlignmentAlign.tsx
<Center size={20} bg="red.200">
<mask> import { Wrap, Center } from 'native-base'; <mask> export default function () { <mask> return ( <mask> <Wrap spacing={10} justify="center" direction="row"> <mask> <Center w="100px" h="80px" bg="red.200"> <mask> Box 1 <mask> </Center> <mask> <Center w="100px" h="40px" bg="g...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/AlignmentJustify.tsx
<Center size={16} bg="green.200">
<mask> <Wrap spacing={10} justify="center" direction="row"> <mask> <Center w="100px" h="80px" bg="red.200"> <mask> Box 1 <mask> </Center> <mask> <Center w="100px" h="40px" bg="green.200"> <mask> Box 2 <mask> </Center> <mask> <Center w="100px" h="60px" bg="tomato...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/AlignmentJustify.tsx
<Center size={12} bg="tomato">
<mask> </Center> <mask> <Center w="100px" h="40px" bg="green.200"> <mask> Box 2 <mask> </Center> <mask> <Center w="100px" h="60px" bg="tomato"> <mask> Box 3 <mask> </Center> <mask> <Center w="180px" h="80px" bg="blue.200"> <mask> Box 4 <mask> <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/AlignmentJustify.tsx
<Center size={10} bg="blue.200">
<mask> </Center> <mask> <Center w="100px" h="60px" bg="tomato"> <mask> Box 3 <mask> </Center> <mask> <Center w="180px" h="80px" bg="blue.200"> <mask> Box 4 <mask> </Center> <mask> </Wrap> <mask> ); <mask> } </s> fix: position prop in fab
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/AlignmentJustify.tsx
<Center size={20} bg="red.200">
<mask> import { Wrap, Center } from 'native-base'; <mask> export default function () { <mask> return ( <mask> <Wrap direction="row"> <mask> <Center w="180px" h="80px" bg="red.200"> <mask> Box 1 <mask> </Center> <mask> <Center w="180px" h="80px" bg="green.200"> <mask> Box...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/Basic.tsx
<Center size={20} bg="green.200">
<mask> <Wrap direction="row"> <mask> <Center w="180px" h="80px" bg="red.200"> <mask> Box 1 <mask> </Center> <mask> <Center w="180px" h="80px" bg="green.200"> <mask> Box 2 <mask> </Center> <mask> <Center w="180px" h="80px" bg="tomato"> <mask> Box 3 <mas...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/Basic.tsx
<Center size={20} bg="tomato">
<mask> </Center> <mask> <Center w="180px" h="80px" bg="green.200"> <mask> Box 2 <mask> </Center> <mask> <Center w="180px" h="80px" bg="tomato"> <mask> Box 3 <mask> </Center> <mask> <Center w="180px" h="80px" bg="blue.200"> <mask> Box 4 <mask> <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/Basic.tsx
<Center size={20} bg="blue.200">
<mask> </Center> <mask> <Center w="180px" h="80px" bg="tomato"> <mask> Box 3 <mask> </Center> <mask> <Center w="180px" h="80px" bg="blue.200"> <mask> Box 4 <mask> </Center> <mask> </Wrap> <mask> ); <mask> } </s> fix: position prop in fab </s> remove <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
example/storybook/stories/components/composites/Wrap/Basic.tsx
const { label, icon, placement = 'bottom-right', ...newProps } = omitUndefined(props);
<mask> import { HStack } from '../../primitives/Stack'; <mask> import type { IFabProps } from './types'; <mask> <mask> const Fab = (props: IFabProps, ref: any) => { <mask> const { label, icon, placement, ...newProps } = omitUndefined(props); <mask> <mask> const placementProps: any = { <mask> topRight:...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
src/components/composites/Fab/Fab.tsx
'top-right': { top: 4, right: 4, position: 'absolute' }, 'top-left': { top: 4, left: 4, position: 'absolute' }, 'bottom-right': { bottom: 4, right: 4, position: 'absolute' }, 'bottom-left': { bottom: 4, left: 4, position: 'absolute' },
<mask> const Fab = (props: IFabProps, ref: any) => { <mask> const { label, icon, placement, ...newProps } = omitUndefined(props); <mask> <mask> const placementProps: any = { <mask> topRight: { top: 4, right: 4, position: 'absolute' }, <mask> topLeft: { top: 4, left: 4, position: 'absolute' }, <mask>...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
src/components/composites/Fab/Fab.tsx
placement?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
<mask> import type { IIconButtonProps } from '../IconButton'; <mask> <mask> export type IFabProps = IIconButtonProps & { <mask> placement?: 'topRight' | 'topLeft' | 'bottomRight' | 'bottomLeft'; <mask> label?: JSX.Element | string; <mask> }; </s> fix: position prop in fab </s> remove export type IKbdProps =...
[ "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
src/components/composites/Fab/types.tsx
<mask> import type { ViewStyle, TextStyle } from 'react-native'; <mask> import type { IBoxProps } from '../../primitives'; <mask> export type IKbdProps = IBoxProps & { <mask> style?: ViewStyle; <mask> textStyle?: TextStyle; <mask> children?: JSX.Element | string; </s> fix: position prop in fab </s> remove ...
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
src/components/composites/KBD/types.ts
export type IKbdProps = IBoxProps;
<mask> import type { ViewStyle, TextStyle } from 'react-native'; <mask> import type { IBoxProps } from '../../primitives'; <mask> export type IKbdProps = IBoxProps & { <mask> style?: ViewStyle; <mask> textStyle?: TextStyle; <mask> children?: JSX.Element | string; <mask> fontSize?: number; <mask> shado...
[ "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
src/components/composites/KBD/types.ts
contrastThreshold: 7,
<mask> 900: string; <mask> } <mask> <mask> const colors = { <mask> contrastThreshold: 3, <mask> // Singleton colors <mask> white: '#FFFFFF', <mask> black: '#000000', <mask> lightText: '#FFFFFF', <mask> darkText: '#27272a', </s> fix: position prop in fab </s> remove justifyContent="center...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/3400b49b846a5c892862c4ad85605fc0fb851393
src/theme/base/colors.ts
<Heading>List with Icons</Heading> <List mt={2} fontSize={24} spacing={4} my={2}>
<mask> <mask> export default function () { <mask> return ( <mask> <Box height="50%"> <mask> <Heading color="indigo.500">List with Icons</Heading> <mask> <List mt={2} fontSize={24} spacing={4}> <mask> <List.Item> <mask> <List.Icon <mask> name="check-circle-outlin...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/350242d66ed92b8ff4ef49632737ca45a97c17f4
example/storybook/stories/components/primitives/List/ListWithIcon.tsx
import UnorderedList from './UnorderedList'; import StylingList from './StylingList'; import OrderedList from './OrderedList'; import Basic from './Basic';
<mask> import React from 'react'; <mask> import { storiesOf } from '@storybook/react-native'; <mask> import { withKnobs } from '@storybook/addon-knobs'; <mask> import Wrapper from './../../Wrapper'; <mask> import DefaultList from './DefaultList'; <mask> import ListWithIcon from './ListWithIcon'; <mask> import Vi...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/350242d66ed92b8ff4ef49632737ca45a97c17f4
example/storybook/stories/components/primitives/List/index.tsx
.add('Basic', () => <Basic />) .add('OrderedList', () => <OrderedList />) .add('UnorderedList', () => <UnorderedList />) .add('StylingList', () => <StylingList />)
<mask> <mask> storiesOf('List', module) <mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>) <mask> .add('Default List', () => <DefaultList />) <mask> .add('List with Icon', () => <ListWithIcon />) <mask> .add('VirtualizedList ', () => <VirtualizedLi...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/350242d66ed92b8ff4ef49632737ca45a97c17f4
example/storybook/stories/components/primitives/List/index.tsx
const { _text, ...newProps } = useThemeProps('List', props);
<mask> import type { IListProps, IListItemProps } from './types'; <mask> import { useThemeProps } from '../../../hooks'; <mask> <mask> const List = ({ children, spacing, ...props }: IListProps, ref?: any) => { <mask> const themeProps = useThemeProps('List', props); <mask> // add props to children <mask> l...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/350242d66ed92b8ff4ef49632737ca45a97c17f4
src/components/primitives/List/List.tsx
<mask> <mask> const List = ({ children, spacing, ...props }: IListProps, ref?: any) => { <mask> const themeProps = useThemeProps('List', props); <mask> // add props to children <mask> let childrenArray = React.Children.toArray(children); <mask> children = React.Children.map(children, (child: any, ind: nu...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/350242d66ed92b8ff4ef49632737ca45a97c17f4
src/components/primitives/List/List.tsx
<mask> const themeProps = useThemeProps('List', props); <mask> // add props to children <mask> let childrenArray = React.Children.toArray(children); <mask> children = React.Children.map(children, (child: any, ind: number) => { <mask> if (ind === childrenArray.length - 1) { <mask> return React.cl...
[ "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/350242d66ed92b8ff4ef49632737ca45a97c17f4
src/components/primitives/List/List.tsx