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
export const Example = () => {
<mask> </Box> <mask> ); <mask> } <mask> <mask> export default function () { <mask> return ( <mask> <NativeBaseProvider> <mask> <MyComponent /> <mask> </NativeBaseProvider> <mask> ); </s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add };
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/hooks/useSafeArea/Fixed.tsx
};
<mask> <NativeBaseProvider> <mask> <MyComponent /> <mask> </NativeBaseProvider> <mask> ); <mask> } </s> fix: updated general examples and also some Icons as well (#3695) </s> remove } </s> add }; </s> remove } </s> add }; </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/hooks/useSafeArea/Fixed.tsx
export const Example = () => {
<mask> </Box> <mask> ); <mask> } <mask> <mask> export default function () { <mask> return ( <mask> <NativeBaseProvider> <mask> <MyComponent /> <mask> </NativeBaseProvider> <mask> ); </s> fix: updated general examples and also some Icons as well (#3695)
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/hooks/useSafeArea/Flexible.tsx
};
<mask> <NativeBaseProvider> <mask> <MyComponent /> <mask> </NativeBaseProvider> <mask> ); <mask> } </s> fix: updated general examples and also some Icons as well (#3695)
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/hooks/useSafeArea/Flexible.tsx
export const Example = () => {
<mask> </Box> <mask> ); <mask> } <mask> <mask> export default function () { <mask> return ( <mask> <NativeBaseProvider> <mask> <MyComponent /> <mask> </NativeBaseProvider> <mask> ); </s> fix: updated general examples and also some Icons as well (#3695)
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/hooks/useSafeArea/Hook.tsx
};
<mask> <NativeBaseProvider> <mask> <MyComponent /> <mask> </NativeBaseProvider> <mask> ); <mask> } </s> fix: updated general examples and also some Icons as well (#3695)
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/hooks/useSafeArea/Hook.tsx
import { Example as Flexible } from './Flexible'; import { Example as Fixed } from './Fixed'; import { Example as Hook } from './Hook';
<mask> import React from 'react'; <mask> import { View } from 'react-native'; <mask> import { storiesOf } from '@storybook/react-native'; <mask> import { withKnobs } from '@storybook/addon-knobs'; <mask> import Flexible from './Flexible'; <mask> import Fixed from './Fixed'; <mask> import Hook from './Hook'; <mask> <mask> storiesOf('useSafeArea', module) <mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => <View>{getStory()}</View>) <mask> .add('Flexible', () => <Flexible />) </s> fix: updated general examples and also some Icons as well (#3695) </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; import Variations from './Variations'; </s> add import { Example as Basic } from './Basic'; import { Example as Variations } from './Variations'; </s> remove import Usage from './Usage'; </s> add import { Example as Usage } from './Usage';
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/hooks/useSafeArea/index.tsx
export const Example = () => {
<mask> import React from 'react'; <mask> import { Heading, VStack, NativeBaseProvider, extendTheme } from 'native-base'; <mask> <mask> export default function () { <mask> const theme = extendTheme({ <mask> colors: { <mask> custom: { <mask> 100: '#f7c', <mask> 200: '#faa', </s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Custom/Basic.tsx
};
<mask> <Heading color="custom.300"> I'm a Heading</Heading> <mask> </VStack> <mask> </NativeBaseProvider> <mask> ); <mask> } </s> fix: updated general examples and also some Icons as well (#3695) </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add };
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Custom/Basic.tsx
export const Example = () => {
<mask> import React from 'react'; <mask> import { Text, extendTheme, Center, NativeBaseProvider } from 'native-base'; <mask> <mask> export default function () { <mask> const theme = extendTheme({ <mask> components: { <mask> Text: { <mask> baseStyle: { <mask> color: 'emerald.400', </s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Custom/CustomizingBase.tsx
};
<mask> <Text>NativeBase</Text> <mask> </Center> <mask> </NativeBaseProvider> <mask> ); <mask> } </s> fix: updated general examples and also some Icons as well (#3695) </s> remove } </s> add }; </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove } </s> add }; </s> remove } </s> add };
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Custom/CustomizingBase.tsx
export const Example = () => {
<mask> import React from 'react'; <mask> import { NativeBaseProvider, themeTools, extendTheme } from 'native-base'; <mask> import { Content } from './Content'; <mask> <mask> export default function () { <mask> const theme = extendTheme({ <mask> colors: { <mask> // Add new color <mask> custom: { <mask> 100: '#f7c', </s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Custom/CustomizingComponents.tsx
};
<mask> <NativeBaseProvider theme={theme}> <mask> <Content /> <mask> </NativeBaseProvider> <mask> ); <mask> } </s> fix: updated general examples and also some Icons as well (#3695) </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add }; </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Custom/CustomizingComponents.tsx
export const Example = () => {
<mask> import React from 'react'; <mask> import { NativeBaseProvider, extendTheme } from 'native-base'; <mask> import { Content } from './Content'; <mask> <mask> export default function () { <mask> const theme = extendTheme({ <mask> colors: { <mask> // Add new color <mask> custom: { <mask> 100: '#f7c', </s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Custom/CustomizingTheme.tsx
};
<mask> <NativeBaseProvider theme={theme}> <mask> <Content /> <mask> </NativeBaseProvider> <mask> ); <mask> } </s> fix: updated general examples and also some Icons as well (#3695)
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Custom/CustomizingTheme.tsx
export const Example = () => {
<mask> Center, <mask> VStack, <mask> } from 'native-base'; <mask> <mask> export default function () { <mask> const theme = extendTheme({ <mask> components: { <mask> Button: { <mask> variants: { <mask> rounded: ({ colorScheme }: any) => { </s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Custom/CustomizingVariant.tsx
};
<mask> </VStack> <mask> </Center> <mask> </NativeBaseProvider> <mask> ); <mask> } </s> fix: updated general examples and also some Icons as well (#3695) </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add }; </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Custom/CustomizingVariant.tsx
import { Example as Basic } from './Basic'; import { Example as CustomizingBase } from './CustomizingBase'; import { Example as CustomizingTheme } from './CustomizingTheme'; import { Example as CustomizingVariant } from './CustomizingVariant'; import { Example as CustomizingComponents } from './CustomizingComponents';
<mask> import React from 'react'; <mask> import { storiesOf } from '@storybook/react-native'; <mask> import { withKnobs } from '@storybook/addon-knobs'; <mask> import Basic from './Basic'; <mask> import CustomizingBase from './CustomizingBase'; <mask> import CustomizingTheme from './CustomizingTheme'; <mask> import CustomizingVariant from './CustomizingVariant'; <mask> import CustomizingComponents from './CustomizingComponents'; <mask> <mask> storiesOf('Custom Theme', module) <mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => getStory()) <mask> .add('Basic', () => <Basic />) </s> fix: updated general examples and also some Icons as well (#3695) </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; import Variations from './Variations'; </s> add import { Example as Basic } from './Basic'; import { Example as Variations } from './Variations';
[ "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Custom/index.tsx
export const Example = () => {
<mask> }, <mask> }, <mask> }, <mask> }); <mask> export default function () { <mask> return ( <mask> <NativeBaseProvider theme={customTheme}> <mask> <Content /> <mask> </NativeBaseProvider> <mask> ); </s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default function () { </s> add export const Example = () => { </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add };
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Mode/Basic.tsx
};
<mask> <NativeBaseProvider theme={customTheme}> <mask> <Content /> <mask> </NativeBaseProvider> <mask> ); <mask> } </s> fix: updated general examples and also some Icons as well (#3695) </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add }; </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Mode/Basic.tsx
export const Example = () => {
<mask> import React from 'react'; <mask> import { NativeBaseProvider, extendTheme } from 'native-base'; <mask> import { Content } from './Content'; <mask> <mask> export default function () { <mask> const config = { <mask> useSystemColorMode: false, <mask> initialColorMode: 'dark', <mask> }; <mask> const customTheme = extendTheme({ config }); </s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Mode/DefaultMode.tsx
};
<mask> <NativeBaseProvider theme={customTheme}> <mask> <Content /> <mask> </NativeBaseProvider> <mask> ); <mask> } </s> fix: updated general examples and also some Icons as well (#3695)
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Mode/DefaultMode.tsx
export const Example = () => {
<mask> console.log(e); <mask> } <mask> }, <mask> }; <mask> export default function () { <mask> return ( <mask> <NativeBaseProvider colorModeManager={colorModeManager}> <mask> <Content /> <mask> </NativeBaseProvider> <mask> ); </s> fix: updated general examples and also some Icons as well (#3695) </s> remove } </s> add }; </s> remove export default function () { </s> add export const Example = () => { </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add };
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Mode/Persistence.tsx
};
<mask> <NativeBaseProvider colorModeManager={colorModeManager}> <mask> <Content /> <mask> </NativeBaseProvider> <mask> ); <mask> } </s> fix: updated general examples and also some Icons as well (#3695) </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add }; </s> remove } </s> add }; </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Mode/Persistence.tsx
import { Example as Basic } from './Basic'; import { Example as DefaultMode } from './DefaultMode'; import { Example as Persistence } from './Persistence';
<mask> import React from 'react'; <mask> import { storiesOf } from '@storybook/react-native'; <mask> import { withKnobs } from '@storybook/addon-knobs'; <mask> import { View, StyleSheet } from 'react-native'; <mask> import Basic from './Basic'; <mask> import DefaultMode from './DefaultMode'; <mask> import Persistence from './Persistence'; <mask> <mask> storiesOf('Mode', module) <mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => ( <mask> <View style={styles.wrapper}>{getStory()}</View> </s> fix: updated general examples and also some Icons as well (#3695) </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic';
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Mode/index.tsx
export const Example = () => {
<mask> import React from 'react'; <mask> import { Box } from 'native-base'; <mask> export default () => { <mask> return ( <mask> <Box bg="red.200" w={['100px', '400px', '560px']}> <mask> This is a box <mask> </Box> <mask> ); </s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default function () { </s> add export const Example = () => { </s> remove export default () => { </s> add export const Example = () => { </s> remove } </s> add }; </s> remove export default function () { </s> add export const Example = () => { </s> remove export default () => { </s> add export const Example = () => {
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/Basic.tsx
export const Example = () => {
<mask> import React from 'react'; <mask> import { Box, Text, Image, Heading, Stack } from 'native-base'; <mask> export default () => { <mask> return ( <mask> <Box <mask> flexDirection={{ base: 'column', md: 'row' }} <mask> shadow={4} <mask> rounded="xl" </s> fix: updated general examples and also some Icons as well (#3695) </s> remove name="Sanket Sahu" </s> add </s> remove export default () => { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default () => { </s> add export const Example = () => {
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/Demo.tsx
export const Example = () => {
<mask> import React from 'react'; <mask> import { Box, Avatar } from 'native-base'; <mask> export default () => { <mask> return ( <mask> <Box <mask> justifyContent="space-between" <mask> alignItems="center" <mask> w="100%" </s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/Direction.tsx
<mask> flexDirection={{ base: 'column', sm: 'column', md: 'row' }} <mask> p={4} <mask> > <mask> <Avatar <mask> name="Sanket Sahu" <mask> borderWidth={1} <mask> size="xl" <mask> m={2} <mask> source={{ <mask> uri: </s> fix: updated general examples and also some Icons as well (#3695) </s> remove name="Ankur Kedia" </s> add </s> remove name="Rehman Baig" </s> add </s> remove name="Suraj Ahmed" </s> add </s> remove name="Rohit Singh" </s> add </s> remove name="Gaurav Guha" </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/Direction.tsx
<mask> 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', <mask> }} <mask> /> <mask> <Avatar <mask> name="Gaurav Guha" <mask> borderWidth={1} <mask> size="xl" <mask> m={2} <mask> source={{ <mask> uri: </s> fix: updated general examples and also some Icons as well (#3695) </s> remove name="Suraj Ahmed" </s> add </s> remove name="Rehman Baig" </s> add </s> remove name="Rohit Singh" </s> add </s> remove name="Ankur Kedia" </s> add </s> remove name="Sanket Sahu" </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/Direction.tsx
<mask> 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', <mask> }} <mask> /> <mask> <Avatar <mask> name="Rohit Singh" <mask> borderWidth={1} <mask> size="xl" <mask> m={2} <mask> source={{ <mask> uri: </s> fix: updated general examples and also some Icons as well (#3695) </s> remove name="Suraj Ahmed" </s> add </s> remove name="Rehman Baig" </s> add </s> remove name="Gaurav Guha" </s> add </s> remove name="Ankur Kedia" </s> add </s> remove name="Sanket Sahu" </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/Direction.tsx
<mask> 'https://pbs.twimg.com/profile_images/1260766060401188864/ySJfMIbZ_400x400.jpg', <mask> }} <mask> /> <mask> <Avatar <mask> name="Ankur Kedia" <mask> borderWidth={1} <mask> size="xl" <mask> m={2} <mask> source={{ <mask> uri: </s> fix: updated general examples and also some Icons as well (#3695) </s> remove name="Suraj Ahmed" </s> add </s> remove name="Rehman Baig" </s> add </s> remove name="Gaurav Guha" </s> add </s> remove name="Rohit Singh" </s> add </s> remove name="Sanket Sahu" </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/Direction.tsx
<mask> 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', <mask> }} <mask> /> <mask> <Avatar <mask> name="Suraj Ahmed" <mask> borderWidth={1} <mask> size="xl" <mask> m={2} <mask> source={{ <mask> uri: </s> fix: updated general examples and also some Icons as well (#3695) </s> remove name="Rehman Baig" </s> add </s> remove name="Gaurav Guha" </s> add </s> remove name="Rohit Singh" </s> add </s> remove name="Ankur Kedia" </s> add </s> remove name="Sanket Sahu" </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/Direction.tsx
<mask> 'https://pbs.twimg.com/profile_images/983582580372004864/h9ccP0Ea_400x400.jpg', <mask> }} <mask> /> <mask> <Avatar <mask> name="Rehman Baig" <mask> borderWidth={1} <mask> size="xl" <mask> m={2} <mask> source={{ <mask> uri: </s> fix: updated general examples and also some Icons as well (#3695) </s> remove name="Suraj Ahmed" </s> add </s> remove name="Gaurav Guha" </s> add </s> remove name="Rohit Singh" </s> add </s> remove name="Ankur Kedia" </s> add </s> remove name="Sanket Sahu" </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/Direction.tsx
export const Example = () => {
<mask> import React from 'react'; <mask> import { Text } from 'native-base'; <mask> export default () => { <mask> return ( <mask> <Text fontSize={{ base: '24px', md: '40px', lg: '56px' }}> <mask> This is responsive text <mask> </Text> <mask> ); </s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default function () { </s> add export const Example = () => { </s> remove export default () => { </s> add export const Example = () => { </s> remove export default () => { </s> add export const Example = () => { </s> remove export default () => { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/FontSize.tsx
export const Example = () => {
<mask> import React from 'react'; <mask> import { Box } from 'native-base'; <mask> export default () => { <mask> return ( <mask> <> <mask> <Box <mask> height={{ <mask> base: '75%', // 0-768px </s> fix: updated general examples and also some Icons as well (#3695) </s> remove // export default function () { </s> add // export const Example = () => { </s> remove // export default function () { </s> add // export const Example = () => { </s> remove export default () => { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => { </s> remove export default function () { </s> add export const Example = () => {
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/More.tsx
import { Example as Basic } from './Basic'; import { Example as FontSize } from './FontSize'; import { Example as Direction } from './Direction'; import { Example as More } from './More'; import { Example as Demo } from './Demo';
<mask> import React from 'react'; <mask> import { storiesOf } from '@storybook/react-native'; <mask> import { withKnobs } from '@storybook/addon-knobs'; <mask> import Wrapper from './../../components/Wrapper'; <mask> import Basic from './Basic'; <mask> import FontSize from './FontSize'; <mask> import Direction from './Direction'; <mask> import More from './More'; <mask> import Demo from './Demo'; <mask> <mask> storiesOf('Responsive', module) <mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>) <mask> .add('Basic', () => <Basic />) </s> fix: updated general examples and also some Icons as well (#3695) </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; </s> add import { Example as Basic } from './Basic'; </s> remove import Basic from './Basic'; import Variations from './Variations'; </s> add import { Example as Basic } from './Basic'; import { Example as Variations } from './Variations';
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
example/storybook/stories/theme/Responsive/index.tsx
* The direction of the Stack Items. * @default row
<mask> } <mask> <mask> export interface IButtonGroupProps extends IStackProps { <mask> /** <mask> * <mask> */ <mask> direction?: 'column' | 'row'; <mask> /** <mask> * <mask> */ </s> fix: updated general examples and also some Icons as well (#3695) </s> remove * </s> add * The variant of the button style to use. * @default 'solid' </s> remove * </s> add * The start icon element to use in the button. </s> remove * </s> add * If true, the button will be disabled. </s> remove * </s> add * The color of the radio when it's checked. This should be one of the color keys in the theme (e.g."green", "red"). * @default 'primary' </s> remove * </s> add * If true, button will be atttached together.
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
src/components/primitives/Button/types.ts
* The variant of the button style to use. * @default 'solid'
<mask> * <mask> */ <mask> children: JSX.Element | Array<JSX.Element>; <mask> /** <mask> * <mask> */ <mask> variant?: 'ghost' | 'outline' | 'solid' | 'link' | 'unstyled'; <mask> /** <mask> * <mask> */ </s> fix: updated general examples and also some Icons as well (#3695) </s> remove * </s> add * The start icon element to use in the button. </s> remove * </s> add * The color of the radio when it's checked. This should be one of the color keys in the theme (e.g."green", "red"). * @default 'primary' </s> remove * </s> add * The direction of the Stack Items. * @default row </s> remove * </s> add * If true, the button will be disabled. </s> remove * </s> add * If true, button will be atttached together.
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
src/components/primitives/Button/types.ts
* The start icon element to use in the button.
<mask> * <mask> */ <mask> variant?: 'ghost' | 'outline' | 'solid' | 'link' | 'unstyled'; <mask> /** <mask> * <mask> */ <mask> size?: 'xs' | 'sm' | 'md' | 'lg'; <mask> /** <mask> * <mask> */ </s> fix: updated general examples and also some Icons as well (#3695) </s> remove * </s> add * The variant of the button style to use. * @default 'solid' </s> remove * </s> add * The color of the radio when it's checked. This should be one of the color keys in the theme (e.g."green", "red"). * @default 'primary' </s> remove * </s> add * The direction of the Stack Items. * @default row </s> remove * </s> add * If true, the button will be disabled. </s> remove * </s> add * If true, button will be atttached together.
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
src/components/primitives/Button/types.ts
* The color of the radio when it's checked. This should be one of the color keys in the theme (e.g."green", "red"). * @default 'primary'
<mask> * <mask> */ <mask> size?: 'xs' | 'sm' | 'md' | 'lg'; <mask> /** <mask> * <mask> */ <mask> colorScheme?: string; <mask> /** <mask> * <mask> */ </s> fix: updated general examples and also some Icons as well (#3695) </s> remove * </s> add * The start icon element to use in the button. </s> remove * </s> add * The variant of the button style to use. * @default 'solid' </s> remove * </s> add * If true, the button will be disabled. </s> remove * </s> add * The direction of the Stack Items. * @default row </s> remove * </s> add * If true, button will be atttached together.
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
src/components/primitives/Button/types.ts
* If true, the button will be disabled.
<mask> * <mask> */ <mask> colorScheme?: string; <mask> /** <mask> * <mask> */ <mask> isDisabled?: boolean; <mask> /** <mask> * <mask> */ </s> fix: updated general examples and also some Icons as well (#3695) </s> remove * </s> add * If true, button will be atttached together. </s> remove * </s> add * The color of the radio when it's checked. This should be one of the color keys in the theme (e.g."green", "red"). * @default 'primary' </s> remove * </s> add * The variant of the button style to use. * @default 'solid' </s> remove * </s> add * The direction of the Stack Items. * @default row </s> remove * </s> add * The start icon element to use in the button.
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
src/components/primitives/Button/types.ts
* If true, button will be atttached together.
<mask> * <mask> */ <mask> isDisabled?: boolean; <mask> /** <mask> * <mask> */ <mask> isAttached?: boolean; <mask> } <mask> <mask> export type IButtonComponentType = (( </s> fix: updated general examples and also some Icons as well (#3695) </s> remove * </s> add * If true, the button will be disabled. </s> remove * </s> add * The direction of the Stack Items. * @default row </s> remove * </s> add * The variant of the button style to use. * @default 'solid' </s> remove * </s> add * The start icon element to use in the button. </s> remove * </s> add * The color of the radio when it's checked. This should be one of the color keys in the theme (e.g."green", "red"). * @default 'primary'
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0
src/components/primitives/Button/types.ts
_webSelect,
<mask> optimized, <mask> customDropdownIconProps, <mask> _actionSheetContent, <mask> _actionSheetBody, <mask> unstyledSelecWebtStyles, <mask> ...resolvedProps <mask> } = usePropsResolution( <mask> 'Select', <mask> props, <mask> { </s> fix: replaced unstyledSelecWebtStyles with _webSelect </s> remove unstyledSelecWebtStyles: { </s> add _webSelect: { </s> remove style={unstyledSelecWebtStyles} </s> add style={_webSelect}
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/53d5e213d6e04a5a78baea729082682701b84477
src/components/primitives/Select/Select.tsx
style={_webSelect}
<mask> {...focusProps} <mask> {...hoverProps} <mask> ref={mergeRefs([ref, _ref])} <mask> //@ts-ignore <mask> style={unstyledSelecWebtStyles} <mask> onChange={(e) => { <mask> setValue(e.target.value); <mask> }} <mask> value={selectedItem === null ? tempFix : value} <mask> aria-label={placeholder} </s> fix: replaced unstyledSelecWebtStyles with _webSelect </s> remove unstyledSelecWebtStyles: { </s> add _webSelect: { </s> remove unstyledSelecWebtStyles, </s> add _webSelect,
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/53d5e213d6e04a5a78baea729082682701b84477
src/components/primitives/Select/Select.tsx
_webSelect: {
<mask> import { mode } from '../tools'; <mask> export const Select = { <mask> baseStyle: (props: Record<string, any>) => { <mask> return { <mask> unstyledSelecWebtStyles: { <mask> appearance: 'none', <mask> WebkitAppearance: 'none', <mask> MozAppearance: 'none', <mask> position: 'absolute', <mask> width: '100%', </s> fix: replaced unstyledSelecWebtStyles with _webSelect </s> remove unstyledSelecWebtStyles, </s> add _webSelect, </s> remove style={unstyledSelecWebtStyles} </s> add style={_webSelect}
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/53d5e213d6e04a5a78baea729082682701b84477
src/theme/components/select.ts
import { Example as ToastVariants } from './VariantRecipies';
<mask> import { storiesOf } from '@storybook/react-native'; <mask> import { withKnobs } from '@storybook/addon-knobs'; <mask> import Wrapper from '../../Wrapper'; <mask> import { Example as ToastPositions } from './ToastPositions'; <mask> import { Example as Basic } from './Basic'; <mask> import { Example as CloseToast } from './CloseToast'; <mask> import { Example as CustomComponent } from './CustomComponent'; <mask> import { Example as CustomComponentWithCustomId } from './CustomComponentWithCustomId'; <mask> import { Example as PreventDuplicate } from './PreventDuplicate'; <mask> import { Example as ToastStatus } from './StatusRecipies'; </s> fix: design changes and status and variant recipies </s> remove bg: mode(`coolGray.600`, `warmGray.200`)(props), </s> add bg: mode(`muted.700`, `muted.600`)(props), </s> remove shadow: 1, </s> add shadow: 6,
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/53f8f2f80f254e45a472f8d8f64ebcae4bee0b61
example/storybook/stories/components/composites/Toast/index.tsx
import { Example as ToastStatus } from './StatusRecipies';
<mask> import { Example as CustomComponentWithCustomId } from './CustomComponentWithCustomId'; <mask> import { Example as PreventDuplicate } from './PreventDuplicate'; <mask> import { Example as StandaloneToast } from './StandaloneToast'; <mask> <mask> storiesOf('Toast', module) <mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>) <mask> .add('Basic', () => <Basic />) </s> fix: design changes and status and variant recipies </s> remove bg: mode(`coolGray.600`, `warmGray.200`)(props), </s> add bg: mode(`muted.700`, `muted.600`)(props), </s> remove shadow: 1, </s> add shadow: 6,
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/53f8f2f80f254e45a472f8d8f64ebcae4bee0b61
example/storybook/stories/components/composites/Toast/index.tsx
.add('Status Recipies', () => <ToastStatus />) .add('Variants Recipies', () => <ToastVariants />)
<mask> .add('Custom Component with custom Id', () => <CustomComponentWithCustomId />) <mask> .add('CloseToast', () => <CloseToast />) <mask> .add('Prevent Duplicate', () => <PreventDuplicate />) <mask> .add('Toast Ref', () => <StandaloneToast />); </s> fix: design changes and status and variant recipies </s> remove bg: mode(`coolGray.600`, `warmGray.200`)(props), </s> add bg: mode(`muted.700`, `muted.600`)(props), </s> remove shadow: 1, </s> add shadow: 6,
[ "keep", "keep", "add", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/53f8f2f80f254e45a472f8d8f64ebcae4bee0b61
example/storybook/stories/components/composites/Toast/index.tsx
bg: mode(`muted.700`, `muted.600`)(props),
<mask> <mask> const baseStyle = (props: Record<string, any>) => { <mask> // NOTE: Internal pseudo props like _stack, _overlay nad _presenceTransition can only be update by the theme. <mask> return { <mask> bg: mode(`coolGray.600`, `warmGray.200`)(props), <mask> p: '2', <mask> rounded: 'sm', <mask> shadow: 1, <mask> // The stack in which toast are being rendered <mask> _stack: { </s> fix: design changes and status and variant recipies </s> remove shadow: 1, </s> add shadow: 6,
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/53f8f2f80f254e45a472f8d8f64ebcae4bee0b61
src/theme/components/toast.ts
shadow: 6,
<mask> return { <mask> bg: mode(`coolGray.600`, `warmGray.200`)(props), <mask> p: '2', <mask> rounded: 'sm', <mask> shadow: 1, <mask> // The stack in which toast are being rendered <mask> _stack: { <mask> margin: 'auto', <mask> position: 'absolute', <mask> space: 2, </s> fix: design changes and status and variant recipies </s> remove bg: mode(`coolGray.600`, `warmGray.200`)(props), </s> add bg: mode(`muted.700`, `muted.600`)(props),
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/53f8f2f80f254e45a472f8d8f64ebcae4bee0b61
src/theme/components/toast.ts
import { Input, KeyboardAvoidingView, Text, Button, VStack } from 'native-base'; import { Platform } from 'react-native';
<mask> import React from 'react'; <mask> import { <mask> Input, <mask> KeyboardAvoidingView, <mask> View, <mask> Text, <mask> Button, <mask> VStack, <mask> useBreakpointValue, <mask> } from 'native-base'; <mask> export const Example = () => { <mask> const isLargeScreen = useBreakpointValue({ <mask> base: false, <mask> sm: false, <mask> md: false, </s> fix: keyboardavoidingview example will only run on mobile </s> remove const isLargeScreen = useBreakpointValue({ base: false, sm: false, md: false, lg: true, }); </s> add </s> remove {isLargeScreen ? ( </s> add {Platform.OS === 'web' ? ( </s> remove <View bg="white" mt={3}> <Button variant="solid">Submit</Button> </View> </s> add <Button variant="solid">Submit</Button>
[ "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/5437af900b29a2c234adac5c4f84b2c1d14a8e00
example/storybook/stories/components/basic/KeyboardAvoidingView/Basic.tsx
<mask> VStack, <mask> useBreakpointValue, <mask> } from 'native-base'; <mask> export const Example = () => { <mask> const isLargeScreen = useBreakpointValue({ <mask> base: false, <mask> sm: false, <mask> md: false, <mask> lg: true, <mask> }); <mask> return ( <mask> <KeyboardAvoidingView h={{ base: '600px', lg: 'auto' }}> <mask> {isLargeScreen ? ( <mask> <Text>Please see the example in your mobile to observe the effect</Text> <mask> ) : ( </s> fix: keyboardavoidingview example will only run on mobile </s> remove {isLargeScreen ? ( </s> add {Platform.OS === 'web' ? ( </s> remove import { Input, KeyboardAvoidingView, View, Text, Button, VStack, useBreakpointValue, } from 'native-base'; </s> add import { Input, KeyboardAvoidingView, Text, Button, VStack } from 'native-base'; import { Platform } from 'react-native'; </s> remove <View bg="white" mt={3}> <Button variant="solid">Submit</Button> </View> </s> add <Button variant="solid">Submit</Button>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/5437af900b29a2c234adac5c4f84b2c1d14a8e00
example/storybook/stories/components/basic/KeyboardAvoidingView/Basic.tsx
{Platform.OS === 'web' ? (
<mask> lg: true, <mask> }); <mask> return ( <mask> <KeyboardAvoidingView h={{ base: '600px', lg: 'auto' }}> <mask> {isLargeScreen ? ( <mask> <Text>Please see the example in your mobile to observe the effect</Text> <mask> ) : ( <mask> <VStack p={6} flex={1} justifyContent="space-around"> <mask> <Text fontSize={36} mb={12}> <mask> Header </s> fix: keyboardavoidingview example will only run on mobile </s> remove const isLargeScreen = useBreakpointValue({ base: false, sm: false, md: false, lg: true, }); </s> add </s> remove import { Input, KeyboardAvoidingView, View, Text, Button, VStack, useBreakpointValue, } from 'native-base'; </s> add import { Input, KeyboardAvoidingView, Text, Button, VStack } from 'native-base'; import { Platform } from 'react-native'; </s> remove <View bg="white" mt={3}> <Button variant="solid">Submit</Button> </View> </s> add <Button variant="solid">Submit</Button>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/5437af900b29a2c234adac5c4f84b2c1d14a8e00
example/storybook/stories/components/basic/KeyboardAvoidingView/Basic.tsx
<Button variant="solid">Submit</Button>
<mask> borderBottomWidth="1px" <mask> mb={9} <mask> mt="auto" <mask> /> <mask> <View bg="white" mt={3}> <mask> <Button variant="solid">Submit</Button> <mask> </View> <mask> </VStack> <mask> )} <mask> </KeyboardAvoidingView> <mask> ); <mask> }; </s> fix: keyboardavoidingview example will only run on mobile </s> remove {isLargeScreen ? ( </s> add {Platform.OS === 'web' ? ( </s> remove const isLargeScreen = useBreakpointValue({ base: false, sm: false, md: false, lg: true, }); </s> add </s> remove import { Input, KeyboardAvoidingView, View, Text, Button, VStack, useBreakpointValue, } from 'native-base'; </s> add import { Input, KeyboardAvoidingView, Text, Button, VStack } from 'native-base'; import { Platform } from 'react-native';
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/5437af900b29a2c234adac5c4f84b2c1d14a8e00
example/storybook/stories/components/basic/KeyboardAvoidingView/Basic.tsx
import { Avatar, HStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Avatar, HStack, AvatarBadge } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <HStack> <mask> <Avatar </s> feat: avatarBadge and avatarGroup changed </s> remove import { Avatar, AvatarGroup } from 'native-base'; </s> add import { Avatar } from 'native-base'; </s> remove <AvatarGroup size="lg" max={4}> </s> add <Avatar.Group size="lg" max={4}> </s> remove export { default as AvatarBadge } from './Badge'; export { default as AvatarGroup } from './Group'; </s> add </s> remove <AvatarBadge borderColor="papayawhip" bg="tomato" /> </s> add <Avatar.Badge borderColor="papayawhip" bg="tomato" />
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx
<Avatar.Badge bg={'red.200'} />
<mask> <Avatar <mask> source={{ uri: 'https://nativebase.io/assets/img/front-page-icon.png' }} <mask> name={'Native Base'} <mask> > <mask> <AvatarBadge bg={'red.200'} /> <mask> </Avatar> <mask> <Avatar <mask> source={{ uri: 'https://nativebase.io/assets/img/front-page-icon.png' }} <mask> name={'Native Base'} <mask> > </s> feat: avatarBadge and avatarGroup changed </s> remove <AvatarBadge borderColor="papayawhip" bg="tomato" /> </s> add <Avatar.Badge borderColor="papayawhip" bg="tomato" /> </s> remove </AvatarGroup> </s> add </Avatar.Group> </s> remove <AvatarGroup size="lg" max={4}> </s> add <Avatar.Group size="lg" max={4}> </s> remove import { Avatar, AvatarGroup } from 'native-base'; </s> add import { Avatar } from 'native-base'; </s> remove import { Avatar, HStack, AvatarBadge } from 'native-base'; </s> add import { Avatar, HStack } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx
<Avatar.Badge borderColor="papayawhip" bg="tomato" />
<mask> <Avatar <mask> source={{ uri: 'https://nativebase.io/assets/img/front-page-icon.png' }} <mask> name={'Native Base'} <mask> > <mask> <AvatarBadge borderColor="papayawhip" bg="tomato" /> <mask> </Avatar> <mask> </HStack> <mask> ); <mask> } </s> feat: avatarBadge and avatarGroup changed </s> remove <AvatarBadge bg={'red.200'} /> </s> add <Avatar.Badge bg={'red.200'} /> </s> remove </AvatarGroup> </s> add </Avatar.Group> </s> remove <AvatarGroup size="lg" max={4}> </s> add <Avatar.Group size="lg" max={4}> </s> remove export default React.memo(Avatar); </s> add Avatar.Badge = React.memo(AvatarBadge); Avatar.Group = React.memo(AvatarGroup); export default Avatar; </s> remove import { Avatar, AvatarGroup } from 'native-base'; </s> add import { Avatar } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx
import { Avatar } from 'native-base';
<mask> import React from 'react'; <mask> import { Avatar, AvatarGroup } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <AvatarGroup size="lg" max={4}> <mask> <Avatar </s> feat: avatarBadge and avatarGroup changed </s> remove <AvatarGroup size="lg" max={4}> </s> add <Avatar.Group size="lg" max={4}> </s> remove import { Avatar, HStack, AvatarBadge } from 'native-base'; </s> add import { Avatar, HStack } from 'native-base'; </s> remove export { default as AvatarBadge } from './Badge'; export { default as AvatarGroup } from './Group'; </s> add </s> remove export { Avatar, AvatarBadge, AvatarGroup } from './Avatar'; </s> add export { Avatar } from './Avatar';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
example/storybook/stories/components/composites/Avatar/AvatarGroup.tsx
<Avatar.Group size="lg" max={4}>
<mask> import { Avatar, AvatarGroup } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <AvatarGroup size="lg" max={4}> <mask> <Avatar <mask> name="Sanket Sahu" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> feat: avatarBadge and avatarGroup changed </s> remove import { Avatar, AvatarGroup } from 'native-base'; </s> add import { Avatar } from 'native-base'; </s> remove import { Avatar, HStack, AvatarBadge } from 'native-base'; </s> add import { Avatar, HStack } from 'native-base'; </s> remove <AvatarBadge bg={'red.200'} /> </s> add <Avatar.Badge bg={'red.200'} /> </s> remove <AvatarBadge borderColor="papayawhip" bg="tomato" /> </s> add <Avatar.Badge borderColor="papayawhip" bg="tomato" />
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
example/storybook/stories/components/composites/Avatar/AvatarGroup.tsx
</Avatar.Group>
<mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', <mask> }} <mask> /> <mask> </AvatarGroup> <mask> ); <mask> } </s> feat: avatarBadge and avatarGroup changed </s> remove <AvatarBadge borderColor="papayawhip" bg="tomato" /> </s> add <Avatar.Badge borderColor="papayawhip" bg="tomato" /> </s> remove <AvatarBadge bg={'red.200'} /> </s> add <Avatar.Badge bg={'red.200'} /> </s> remove export default React.memo(Avatar); </s> add Avatar.Badge = React.memo(AvatarBadge); Avatar.Group = React.memo(AvatarGroup); export default Avatar; </s> remove <AvatarGroup size="lg" max={4}> </s> add <Avatar.Group size="lg" max={4}> </s> remove export { default as AvatarBadge } from './Badge'; export { default as AvatarGroup } from './Group'; </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
example/storybook/stories/components/composites/Avatar/AvatarGroup.tsx
import AvatarBadge from './Badge'; import AvatarGroup from './Group';
<mask> import { Box, Image, Text } from '../../primitives'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import type { IAvatarProps } from './types'; <mask> <mask> const initials = (name: string) => { <mask> const [firstName, lastName] = name.split(' '); <mask> return firstName && lastName <mask> ? `${firstName.charAt(0)}${lastName.charAt(0)}` <mask> : firstName.charAt(0); </s> feat: avatarBadge and avatarGroup changed </s> remove import { Avatar, AvatarGroup } from 'native-base'; </s> add import { Avatar } from 'native-base'; </s> remove import { Avatar, HStack, AvatarBadge } from 'native-base'; </s> add import { Avatar, HStack } from 'native-base'; </s> remove export default React.memo(Avatar); </s> add Avatar.Badge = React.memo(AvatarBadge); Avatar.Group = React.memo(AvatarGroup); export default Avatar; </s> remove export { default as AvatarBadge } from './Badge'; export { default as AvatarGroup } from './Group'; </s> add </s> remove <AvatarGroup size="lg" max={4}> </s> add <Avatar.Group size="lg" max={4}>
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
src/components/composites/Avatar/Avatar.tsx
Avatar.Badge = React.memo(AvatarBadge); Avatar.Group = React.memo(AvatarGroup); export default Avatar;
<mask> {children} <mask> </StyledAvatar> <mask> ); <mask> }; <mask> <mask> export default React.memo(Avatar); </s> feat: avatarBadge and avatarGroup changed </s> remove </AvatarGroup> </s> add </Avatar.Group> </s> remove <AvatarBadge borderColor="papayawhip" bg="tomato" /> </s> add <Avatar.Badge borderColor="papayawhip" bg="tomato" /> </s> remove AvatarBadge, AvatarGroup, </s> add </s> remove AvatarBadge, AvatarGroup, </s> add </s> remove export { Avatar, AvatarBadge, AvatarGroup } from './Avatar'; </s> add export { Avatar } from './Avatar';
[ "keep", "keep", "keep", "keep", "replace", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
src/components/composites/Avatar/Avatar.tsx
<mask> export { default as Avatar } from './Avatar'; <mask> export { default as AvatarBadge } from './Badge'; <mask> export { default as AvatarGroup } from './Group'; <mask> export type { IAvatarProps, IAvatarBadgeProps } from './types'; </s> feat: avatarBadge and avatarGroup changed </s> remove export { Avatar, AvatarBadge, AvatarGroup } from './Avatar'; </s> add export { Avatar } from './Avatar'; </s> remove import { Avatar, AvatarGroup } from 'native-base'; </s> add import { Avatar } from 'native-base'; </s> remove import { Avatar, HStack, AvatarBadge } from 'native-base'; </s> add import { Avatar, HStack } from 'native-base'; </s> remove </AvatarGroup> </s> add </Avatar.Group>
[ "keep", "replace", "replace", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
src/components/composites/Avatar/index.tsx
export { Avatar } from './Avatar';
<mask> <mask> export { Alert, AlertTitle, AlertDescription, AlertIcon } from './Alert'; <mask> export type { IAlertProps } from './Alert'; <mask> <mask> export { Avatar, AvatarBadge, AvatarGroup } from './Avatar'; <mask> <mask> export { <mask> default as Breadcrumb, <mask> BreadcrumbItem, <mask> BreadcrumbLink, </s> feat: avatarBadge and avatarGroup changed </s> remove AvatarBadge, AvatarGroup, </s> add </s> remove export { default as AvatarBadge } from './Badge'; export { default as AvatarGroup } from './Group'; </s> add </s> remove AvatarBadge, AvatarGroup, </s> add </s> remove import { Avatar, AvatarGroup } from 'native-base'; </s> add import { Avatar } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
src/components/composites/index.ts
<mask> IAlertProps, <mask> AspectRatio, <mask> IAspectRatioProps, <mask> Avatar, <mask> AvatarBadge, <mask> AvatarGroup, <mask> Breadcrumb, <mask> BreadcrumbItem, <mask> BreadcrumbLink, <mask> IBreadcrumbProps, <mask> CloseButton, </s> feat: avatarBadge and avatarGroup changed </s> remove AvatarBadge, AvatarGroup, </s> add </s> remove export { Avatar, AvatarBadge, AvatarGroup } from './Avatar'; </s> add export { Avatar } from './Avatar'; </s> remove export { default as AvatarBadge } from './Badge'; export { default as AvatarGroup } from './Group'; </s> add </s> remove export default React.memo(Avatar); </s> add Avatar.Badge = React.memo(AvatarBadge); Avatar.Group = React.memo(AvatarGroup); export default Avatar;
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
src/index.tsx
<mask> AlertDescription, <mask> AlertIcon, <mask> AspectRatio, <mask> Avatar, <mask> AvatarBadge, <mask> AvatarGroup, <mask> Badge, <mask> Button, <mask> ButtonGroup, <mask> IconButton, <mask> Heading, </s> feat: avatarBadge and avatarGroup changed </s> remove AvatarBadge, AvatarGroup, </s> add </s> remove export { Avatar, AvatarBadge, AvatarGroup } from './Avatar'; </s> add export { Avatar } from './Avatar'; </s> remove export { default as AvatarBadge } from './Badge'; export { default as AvatarGroup } from './Group'; </s> add </s> remove export default React.memo(Avatar); </s> add Avatar.Badge = React.memo(AvatarBadge); Avatar.Group = React.memo(AvatarGroup); export default Avatar;
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc
src/index.tsx
/** * * @param props * @returns resolved fontFamily * @description Combination of fontWeight, fontStyle and font family is fully supported on web but on Android we need to pass the exact font family. * for e.g. If we load Roboto-Light-Italic.ttf using css, we can use fontFamily: Roboto, fontWeight: 300, fontStyle: italic on web, but same may not work on all the platforms. Other platform needs to set fontFamily: Roboto-Light-Italic in order to work. * So this function's purpose is to intake styles like fontFamily: Roboto, fontWeight: 300, fontStyle: Italic and return fontFamily: Roboto-Light-Italic depending upon the fontConfig token in typography theme. * This function depends upon fontConfig token in typography for mapping. */ export function useResolvedFontFamily(props: {
<mask> import { useTheme } from './useTheme'; <mask> <mask> type IUseResolvedFontFamily = { <mask> fontFamily: string; <mask> fontStyle: string; <mask> fontWeight: string | number; <mask> }; <mask> </s> fix: add comments in font family resolver </s> remove }; // Android doesn't support fontWeight or fontStyle properties. So, we pass fontFamily instead. export function useResolvedFontFamily(props: IUseResolvedFontFamily) { </s> add }) { </s> remove // fontWeights are also specified using "400" </s> add
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/549b1c40c22f00ffa771675acd600d6436c6d2a3
src/hooks/useResolvedFontFamily.ts
}) {
<mask> type IUseResolvedFontFamily = { <mask> fontFamily: string; <mask> fontStyle: string; <mask> fontWeight: string | number; <mask> }; <mask> <mask> // Android doesn't support fontWeight or fontStyle properties. So, we pass fontFamily instead. <mask> export function useResolvedFontFamily(props: IUseResolvedFontFamily) { <mask> const { fontFamily, fontStyle = 'normal', fontWeight = 400 } = props; <mask> <mask> const { fontConfig, fontWeights, fonts } = useTheme(); <mask> if (fontFamily in fonts) { <mask> const fontToken = fonts[fontFamily]; </s> fix: add comments in font family resolver </s> remove // fontWeights are also specified using "400" </s> add </s> remove type IUseResolvedFontFamily = { </s> add /** * * @param props * @returns resolved fontFamily * @description Combination of fontWeight, fontStyle and font family is fully supported on web but on Android we need to pass the exact font family. * for e.g. If we load Roboto-Light-Italic.ttf using css, we can use fontFamily: Roboto, fontWeight: 300, fontStyle: italic on web, but same may not work on all the platforms. Other platform needs to set fontFamily: Roboto-Light-Italic in order to work. * So this function's purpose is to intake styles like fontFamily: Roboto, fontWeight: 300, fontStyle: Italic and return fontFamily: Roboto-Light-Italic depending upon the fontConfig token in typography theme. * This function depends upon fontConfig token in typography for mapping. */ export function useResolvedFontFamily(props: {
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/549b1c40c22f00ffa771675acd600d6436c6d2a3
src/hooks/useResolvedFontFamily.ts
<mask> const { fontConfig, fontWeights, fonts } = useTheme(); <mask> if (fontFamily in fonts) { <mask> const fontToken = fonts[fontFamily]; <mask> if (fontConfig && fontConfig[fontToken]) { <mask> // fontWeights are also specified using "400" <mask> const parsedFontWeight = parseInt(fontWeight as any); <mask> let fontWeightNumber = Number.isNaN(parsedFontWeight) <mask> ? fontWeights[fontWeight] <mask> : fontWeight; <mask> let fontVariant = fontConfig[fontToken][fontWeightNumber]; </s> fix: add comments in font family resolver </s> remove }; // Android doesn't support fontWeight or fontStyle properties. So, we pass fontFamily instead. export function useResolvedFontFamily(props: IUseResolvedFontFamily) { </s> add }) { </s> remove type IUseResolvedFontFamily = { </s> add /** * * @param props * @returns resolved fontFamily * @description Combination of fontWeight, fontStyle and font family is fully supported on web but on Android we need to pass the exact font family. * for e.g. If we load Roboto-Light-Italic.ttf using css, we can use fontFamily: Roboto, fontWeight: 300, fontStyle: italic on web, but same may not work on all the platforms. Other platform needs to set fontFamily: Roboto-Light-Italic in order to work. * So this function's purpose is to intake styles like fontFamily: Roboto, fontWeight: 300, fontStyle: Italic and return fontFamily: Roboto-Light-Italic depending upon the fontConfig token in typography theme. * This function depends upon fontConfig token in typography for mapping. */ export function useResolvedFontFamily(props: {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/549b1c40c22f00ffa771675acd600d6436c6d2a3
src/hooks/useResolvedFontFamily.ts
return <Text style={this.getTextStyle()}>{(Platform.OS==='ios' || !this.props.capitalize) ? this.props.children : this.props.children.toUpperCase()}</Text>
<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> <mask> } <mask> <mask> else if(this.props.children.type == IconNB) { <mask> return React.cloneElement(this.props.children, this.getIconProps(this.props.children)); <mask> } </s> FooterTab improvements and button capitalize prop enabled </s> remove newChildren.push(<Text key='label' style={this.getTextStyle()}>{(Platform.OS==='ios') ? childrenArray[0] : childrenArray[0].toUpperCase()}</Text>); </s> add newChildren.push(<Text key='label' style={this.getTextStyle()}>{(Platform.OS==='ios' || !this.props.capitalize) ? childrenArray[0] : childrenArray[0].toUpperCase()}</Text>);
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54d0121407d42be322a882635ae2955152456e94
Components/Widgets/Button.js
newChildren.push(<Text key='label' style={this.getTextStyle()}>{(Platform.OS==='ios' || !this.props.capitalize) ? childrenArray[0] : childrenArray[0].toUpperCase()}</Text>);
<mask> }); <mask> <mask> if(this.props.iconRight) { <mask> if (childrenArray[0].type==undefined) { <mask> newChildren.push(<Text key='label' style={this.getTextStyle()}>{(Platform.OS==='ios') ? childrenArray[0] : childrenArray[0].toUpperCase()}</Text>); <mask> } else { <mask> newChildren.push(<Text key='label' style={this.getTextStyle()}>{(Platform.OS==='ios') ? childrenArray[0].props.children : childrenArray[0].props.children.toUpperCase()}</Text>); <mask> } <mask> <mask> newChildren.push(<Text key='icon'>{React.cloneElement(iconElement[0], this.getIconProps(iconElement[0]))}</Text>); </s> FooterTab improvements and button capitalize prop enabled </s> remove return <Text style={this.getTextStyle()}>{(Platform.OS==='ios') ? this.props.children : this.props.children.toUpperCase()}</Text> </s> add return <Text style={this.getTextStyle()}>{(Platform.OS==='ios' || !this.props.capitalize) ? this.props.children : this.props.children.toUpperCase()}</Text>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54d0121407d42be322a882635ae2955152456e94
Components/Widgets/Button.js
capitalize: false,
<mask> newChildren.push(React.cloneElement(child, { <mask> style: this.getInitialStyle().btnStyle, <mask> vertical: true, <mask> transparent:true, <mask> textStyle: (child.props.active) ? this.getInitialStyle().btnStringActiveTextStyle : this.getInitialStyle().btnStringTextStyle, <mask> key: i})); <mask> } <mask> else { </s> FooterTab improvements and button capitalize prop enabled </s> remove newChildren.push(<Text key='label' style={this.getTextStyle()}>{(Platform.OS==='ios') ? childrenArray[0] : childrenArray[0].toUpperCase()}</Text>); </s> add newChildren.push(<Text key='label' style={this.getTextStyle()}>{(Platform.OS==='ios' || !this.props.capitalize) ? childrenArray[0] : childrenArray[0].toUpperCase()}</Text>); </s> remove return <Text style={this.getTextStyle()}>{(Platform.OS==='ios') ? this.props.children : this.props.children.toUpperCase()}</Text> </s> add return <Text style={this.getTextStyle()}>{(Platform.OS==='ios' || !this.props.capitalize) ? this.props.children : this.props.children.toUpperCase()}</Text>
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/54d0121407d42be322a882635ae2955152456e94
Components/Widgets/FooterTab.js
<Heading>Adding Spacer</Heading> <Flex h={40} w={20} mt={6}>
<mask> <mask> export const SpacerExample = () => { <mask> return ( <mask> <Center flex={1}> <mask> <Heading mb={3}>Adding Spacer</Heading> <mask> <Flex h={56} w={20}> <mask> <Center <mask> size={16} <mask> bg="primary.400" <mask> rounded="xl" <mask> _text={{ color: 'white' }} </s> fix: changes in few components </s> remove <Row> <Text>Test Text</Text> <Text>Testing this text with Row</Text> </s> add <Row space={2}> <Center size={16} bg="primary.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 1 </Center> <Center bg="secondary.400" size={16} rounded="md" _text={{ color: 'white' }} shadow={3} > Box 2 </Center> <Center size={16} bg="emerald.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 3 </Center> </s> remove '2xs': { size: 4 }, 'xs': { size: 6 }, 'sm': { size: 8 }, 'md': { size: 12 }, 'lg': { size: 16 }, 'xl': { size: 24 }, '2xl': { size: 32 }, </s> add '2xs': { size: 6 }, 'xs': { size: 10 }, 'sm': { size: 16 }, 'md': { size: 20 }, 'lg': { size: 24 }, 'xl': { size: 32 }, '2xl': { size: 64 }, </s> remove <HStack alignItems="center" space={2}> <Image size={12} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={20} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={32} source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </HStack> </s> add <VStack space={2} alignItems="center"> {['xs', 'sm', 'md', 'lg', 'xl', '2xl'].map((size) => ( <Image size={size} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt={'Alternate Text ' + size} /> ))} </VStack> </s> remove <Box size={200}> <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </Box> </s> add <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </s> remove <Icon type="Ionicons" name="md-checkmark-circle" /> </s> add <Icon name="check" />
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903
example/storybook/stories/components/primitives/Flex/spacer.tsx
<Icon name="check" />
<mask> <mask> export default function () { <mask> return ( <mask> <> <mask> <Icon type="Ionicons" name="md-checkmark-circle" /> <mask> </> <mask> ); <mask> } </s> fix: changes in few components </s> remove import { Rect, Path, Circle } from 'react-native-svg'; </s> add import { Svg, Path, G } from 'react-native-svg'; </s> remove import { Row, Text } from 'native-base'; </s> add import { Center, Row } from 'native-base'; </s> remove <Box size={200}> <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </Box> </s> add <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </s> remove import { HStack, Image } from 'native-base'; </s> add import { VStack, Image } from 'native-base'; </s> remove <HStack alignItems="center" space={2}> <Image size={12} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={20} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={32} source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </HStack> </s> add <VStack space={2} alignItems="center"> {['xs', 'sm', 'md', 'lg', 'xl', '2xl'].map((size) => ( <Image size={size} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt={'Alternate Text ' + size} /> ))} </VStack>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903
example/storybook/stories/components/primitives/Icon/Basic.tsx
import { Svg, Path, G } from 'react-native-svg';
<mask> import React from 'react'; <mask> import { Icon } from 'native-base'; <mask> import { Rect, Path, Circle } from 'react-native-svg'; <mask> export default function () { <mask> return ( <mask> <Icon viewBox="0 0 200 200" color="blue.300" size={12} strokeWidth="10"> <mask> <Rect x="10" y="15" width="200" height="200" fill="yellow.200" /> <mask> <Path </s> fix: changes in few components </s> remove <Icon viewBox="0 0 200 200" color="blue.300" size={12} strokeWidth="10"> <Rect x="10" y="15" width="200" height="200" fill="yellow.200" /> <Path fill="blue.300" stroke="red.300" strokeWidth="10" d="M 100, 100 m -75, 0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0" /> <Circle cx="100" cy="100" r="50" fill="pink.200" /> </s> add <Icon width="870px" height="873px" viewBox="0 0 870 873"> <G fillRule="nonzero" stroke="none" strokeWidth={1} fill="none"> <Path d="M435 .1C194.8.1.1 194.8.1 435c0 187.3 118.4 346.9 284.4 408.1 3.3-29.9 15-57.2 32.7-79.6 12.1-15.4 26.9-28.5 43.9-38.4 2.1-5 4.6-10.6 7.1-16.6-50.3-26-84.7-78.1-84.7-138.6 0-51.7 25.3-97.7 64-125.9-10.9-20.6-21.3-40.2-31.8-58.2-18.1-31.5-46.7-59.7-68.4-78.9-21 11.9-47.8 4.7-59.7-16.3-11.9-21-4.7-47.8 16.3-59.7 21-11.9 47.4-4.7 59.7 15.9v.4c7.2 12.7 7.2 27.5 1.8 39.8 22.8 19.5 56.8 52.5 77.8 89 9.8 17 19.5 34.7 29.3 53.5 20.3-9.4 42.7-14.8 66.2-14.8 21.3 0 41.6 4.3 60.1 11.9 9.8-18.5 19.5-36.2 28.9-52.8 21-36.2 54.6-68.7 77.4-88.3-5.4-12.3-5.4-26.8 1.8-39.4v-.4c12.3-20.6 38.7-27.9 59.3-15.9 21 11.9 28.2 38.7 16.3 59.3-11.9 21-38.4 28.2-59.3 16.3-21.7 18.8-49.9 47.4-68 78.5-10.1 17.4-20.3 36.5-30.8 56.4 42 27.9 69.8 75.3 69.8 129.5 0 63-36.9 116.9-90.4 141.5.9 2.7 2 4.9 3 7.2 47 22.3 81.1 67.4 87.9 121.1C755.9 776 869.9 618.8 869.9 435 869.9 194.8 675.2.1 435 .1z" fill="#CA0000" /> <Path d="M284.8 843.3h.1-.1zM284.8 843.3c-.1 0-.3-.1-.4-.1.2 0 .3 0 .4.1z" fill="#FFF" /> <G fill="#FFF" stroke="#FFF" strokeWidth={5}> <Path d="M485.2 5.8c-20.6-11.9-47-4.7-59.3 15.9v.4c-7.2 12.7-7.2 27.1-1.8 39.4-22.8 19.5-56.4 52.1-77.4 88.3-9.4 16.6-19.2 34.4-28.9 52.8-18.5-7.6-38.7-11.9-60.1-11.9-23.5 0-45.9 5.4-66.2 14.8-9.8-18.8-19.5-36.5-29.3-53.5-21-36.5-55-69.5-77.8-89 5.4-12.3 5.4-27.1-1.8-39.8v-.4C70.3 2.2 43.9-5.1 22.9 6.9 1.9 18.8-5.3 45.6 6.6 66.6c11.9 21 38.7 28.2 59.7 16.3 21.7 19.2 50.3 47.4 68.4 78.9 10.5 18.1 21 37.6 31.8 58.2-38.7 28.2-64 74.2-64 125.9 0 60.4 34.4 112.5 84.7 138.6-2.5 6.2-5.1 11.9-7.2 17-41.6 24.4-70.8 67.4-76.4 117.6 46.9 17.3 97.6 26.8 150.6 26.8 56.2 0 109.9-10.7 159.2-30.1-7.1-52.8-40.5-97.3-86.8-119.8-1.1-2.9-2.5-5.4-3.6-8.7 53.5-24.6 90.4-78.5 90.4-141.5 0-54.3-27.9-101.7-69.8-129.5 10.5-19.9 20.6-39.1 30.8-56.4 18.1-31.1 46.3-59.7 68-78.5 21 11.9 47.4 4.7 59.3-16.3 11.7-20.5 4.5-47.3-16.5-59.3z" transform="translate(181 224)" /> </G> </G> </s> remove import { HStack, Image } from 'native-base'; </s> add import { VStack, Image } from 'native-base'; </s> remove import { Row, Text } from 'native-base'; </s> add import { Center, Row } from 'native-base'; </s> remove <Box size={200}> <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </Box> </s> add <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </s> remove <HStack alignItems="center" space={2}> <Image size={12} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={20} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={32} source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </HStack> </s> add <VStack space={2} alignItems="center"> {['xs', 'sm', 'md', 'lg', 'xl', '2xl'].map((size) => ( <Image size={size} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt={'Alternate Text ' + size} /> ))} </VStack>
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903
example/storybook/stories/components/primitives/Icon/CustomIcon.tsx
<Icon width="870px" height="873px" viewBox="0 0 870 873"> <G fillRule="nonzero" stroke="none" strokeWidth={1} fill="none"> <Path d="M435 .1C194.8.1.1 194.8.1 435c0 187.3 118.4 346.9 284.4 408.1 3.3-29.9 15-57.2 32.7-79.6 12.1-15.4 26.9-28.5 43.9-38.4 2.1-5 4.6-10.6 7.1-16.6-50.3-26-84.7-78.1-84.7-138.6 0-51.7 25.3-97.7 64-125.9-10.9-20.6-21.3-40.2-31.8-58.2-18.1-31.5-46.7-59.7-68.4-78.9-21 11.9-47.8 4.7-59.7-16.3-11.9-21-4.7-47.8 16.3-59.7 21-11.9 47.4-4.7 59.7 15.9v.4c7.2 12.7 7.2 27.5 1.8 39.8 22.8 19.5 56.8 52.5 77.8 89 9.8 17 19.5 34.7 29.3 53.5 20.3-9.4 42.7-14.8 66.2-14.8 21.3 0 41.6 4.3 60.1 11.9 9.8-18.5 19.5-36.2 28.9-52.8 21-36.2 54.6-68.7 77.4-88.3-5.4-12.3-5.4-26.8 1.8-39.4v-.4c12.3-20.6 38.7-27.9 59.3-15.9 21 11.9 28.2 38.7 16.3 59.3-11.9 21-38.4 28.2-59.3 16.3-21.7 18.8-49.9 47.4-68 78.5-10.1 17.4-20.3 36.5-30.8 56.4 42 27.9 69.8 75.3 69.8 129.5 0 63-36.9 116.9-90.4 141.5.9 2.7 2 4.9 3 7.2 47 22.3 81.1 67.4 87.9 121.1C755.9 776 869.9 618.8 869.9 435 869.9 194.8 675.2.1 435 .1z" fill="#CA0000" /> <Path d="M284.8 843.3h.1-.1zM284.8 843.3c-.1 0-.3-.1-.4-.1.2 0 .3 0 .4.1z" fill="#FFF" /> <G fill="#FFF" stroke="#FFF" strokeWidth={5}> <Path d="M485.2 5.8c-20.6-11.9-47-4.7-59.3 15.9v.4c-7.2 12.7-7.2 27.1-1.8 39.4-22.8 19.5-56.4 52.1-77.4 88.3-9.4 16.6-19.2 34.4-28.9 52.8-18.5-7.6-38.7-11.9-60.1-11.9-23.5 0-45.9 5.4-66.2 14.8-9.8-18.8-19.5-36.5-29.3-53.5-21-36.5-55-69.5-77.8-89 5.4-12.3 5.4-27.1-1.8-39.8v-.4C70.3 2.2 43.9-5.1 22.9 6.9 1.9 18.8-5.3 45.6 6.6 66.6c11.9 21 38.7 28.2 59.7 16.3 21.7 19.2 50.3 47.4 68.4 78.9 10.5 18.1 21 37.6 31.8 58.2-38.7 28.2-64 74.2-64 125.9 0 60.4 34.4 112.5 84.7 138.6-2.5 6.2-5.1 11.9-7.2 17-41.6 24.4-70.8 67.4-76.4 117.6 46.9 17.3 97.6 26.8 150.6 26.8 56.2 0 109.9-10.7 159.2-30.1-7.1-52.8-40.5-97.3-86.8-119.8-1.1-2.9-2.5-5.4-3.6-8.7 53.5-24.6 90.4-78.5 90.4-141.5 0-54.3-27.9-101.7-69.8-129.5 10.5-19.9 20.6-39.1 30.8-56.4 18.1-31.1 46.3-59.7 68-78.5 21 11.9 47.4 4.7 59.3-16.3 11.7-20.5 4.5-47.3-16.5-59.3z" transform="translate(181 224)" /> </G> </G>
<mask> import { Icon } from 'native-base'; <mask> import { Rect, Path, Circle } from 'react-native-svg'; <mask> export default function () { <mask> return ( <mask> <Icon viewBox="0 0 200 200" color="blue.300" size={12} strokeWidth="10"> <mask> <Rect x="10" y="15" width="200" height="200" fill="yellow.200" /> <mask> <Path <mask> fill="blue.300" <mask> stroke="red.300" <mask> strokeWidth="10" <mask> d="M 100, 100 m -75, 0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0" <mask> /> <mask> <Circle cx="100" cy="100" r="50" fill="pink.200" /> <mask> </Icon> <mask> ); <mask> } </s> fix: changes in few components </s> remove import { Rect, Path, Circle } from 'react-native-svg'; </s> add import { Svg, Path, G } from 'react-native-svg'; </s> remove import { HStack, Image } from 'native-base'; </s> add import { VStack, Image } from 'native-base'; </s> remove import { Row, Text } from 'native-base'; </s> add import { Center, Row } from 'native-base'; </s> remove <Box size={200}> <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </Box> </s> add <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </s> remove <Icon type="Ionicons" name="md-checkmark-circle" /> </s> add <Icon name="check" />
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903
example/storybook/stories/components/primitives/Icon/CustomIcon.tsx
<Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" />
<mask> import React from 'react'; <mask> import { Box, Image } from 'native-base'; <mask> export default function () { <mask> return ( <mask> <Box size={200}> <mask> <Image <mask> source={{ <mask> uri: 'https://wallpaperaccess.com/full/317501.jpg', <mask> }} <mask> alt="Alternate Text" <mask> /> <mask> </Box> <mask> ); <mask> } </s> fix: changes in few components </s> remove <HStack alignItems="center" space={2}> <Image size={12} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={20} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={32} source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </HStack> </s> add <VStack space={2} alignItems="center"> {['xs', 'sm', 'md', 'lg', 'xl', '2xl'].map((size) => ( <Image size={size} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt={'Alternate Text ' + size} /> ))} </VStack> </s> remove import { HStack, Image } from 'native-base'; </s> add import { VStack, Image } from 'native-base'; </s> remove import { Row, Text } from 'native-base'; </s> add import { Center, Row } from 'native-base'; </s> remove import { Rect, Path, Circle } from 'react-native-svg'; </s> add import { Svg, Path, G } from 'react-native-svg'; </s> remove <Row> <Text>Test Text</Text> <Text>Testing this text with Row</Text> </s> add <Row space={2}> <Center size={16} bg="primary.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 1 </Center> <Center bg="secondary.400" size={16} rounded="md" _text={{ color: 'white' }} shadow={3} > Box 2 </Center> <Center size={16} bg="emerald.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 3 </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903
example/storybook/stories/components/primitives/Image/Basic.tsx
import { VStack, Image } from 'native-base';
<mask> import React from 'react'; <mask> import { HStack, Image } from 'native-base'; <mask> export default function () { <mask> return ( <mask> <HStack alignItems="center" space={2}> <mask> <Image <mask> size={12} </s> fix: changes in few components </s> remove <HStack alignItems="center" space={2}> <Image size={12} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={20} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={32} source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </HStack> </s> add <VStack space={2} alignItems="center"> {['xs', 'sm', 'md', 'lg', 'xl', '2xl'].map((size) => ( <Image size={size} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt={'Alternate Text ' + size} /> ))} </VStack> </s> remove <Box size={200}> <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </Box> </s> add <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </s> remove import { Row, Text } from 'native-base'; </s> add import { Center, Row } from 'native-base'; </s> remove import { Rect, Path, Circle } from 'react-native-svg'; </s> add import { Svg, Path, G } from 'react-native-svg'; </s> remove <Row> <Text>Test Text</Text> <Text>Testing this text with Row</Text> </s> add <Row space={2}> <Center size={16} bg="primary.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 1 </Center> <Center bg="secondary.400" size={16} rounded="md" _text={{ color: 'white' }} shadow={3} > Box 2 </Center> <Center size={16} bg="emerald.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 3 </Center>
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903
example/storybook/stories/components/primitives/Image/Sizes.tsx
<VStack space={2} alignItems="center"> {['xs', 'sm', 'md', 'lg', 'xl', '2xl'].map((size) => ( <Image size={size} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt={'Alternate Text ' + size} /> ))} </VStack>
<mask> import React from 'react'; <mask> import { HStack, Image } from 'native-base'; <mask> export default function () { <mask> return ( <mask> <HStack alignItems="center" space={2}> <mask> <Image <mask> size={12} <mask> resizeMode="cover" <mask> source={{ <mask> uri: 'https://wallpaperaccess.com/full/317501.jpg', <mask> }} <mask> alt="Alternate Text" <mask> /> <mask> <Image <mask> size={20} <mask> resizeMode="cover" <mask> source={{ <mask> uri: 'https://wallpaperaccess.com/full/317501.jpg', <mask> }} <mask> alt="Alternate Text" <mask> /> <mask> <Image <mask> size={32} <mask> source={{ <mask> uri: 'https://wallpaperaccess.com/full/317501.jpg', <mask> }} <mask> alt="Alternate Text" <mask> /> <mask> </HStack> <mask> ); <mask> } </s> fix: changes in few components </s> remove <Box size={200}> <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </Box> </s> add <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </s> remove import { HStack, Image } from 'native-base'; </s> add import { VStack, Image } from 'native-base'; </s> remove import { Rect, Path, Circle } from 'react-native-svg'; </s> add import { Svg, Path, G } from 'react-native-svg'; </s> remove import { Row, Text } from 'native-base'; </s> add import { Center, Row } from 'native-base'; </s> remove <Row> <Text>Test Text</Text> <Text>Testing this text with Row</Text> </s> add <Row space={2}> <Center size={16} bg="primary.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 1 </Center> <Center bg="secondary.400" size={16} rounded="md" _text={{ color: 'white' }} shadow={3} > Box 2 </Center> <Center size={16} bg="emerald.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 3 </Center>
[ "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/55801cb1aed82959b66d7a10f0e5169320203903
example/storybook/stories/components/primitives/Image/Sizes.tsx
import { Center, Row } from 'native-base';
<mask> import React from 'react'; <mask> import { Row, Text } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <Row> <mask> <Text>Test Text</Text> </s> fix: changes in few components </s> remove <Row> <Text>Test Text</Text> <Text>Testing this text with Row</Text> </s> add <Row space={2}> <Center size={16} bg="primary.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 1 </Center> <Center bg="secondary.400" size={16} rounded="md" _text={{ color: 'white' }} shadow={3} > Box 2 </Center> <Center size={16} bg="emerald.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 3 </Center> </s> remove import { HStack, Image } from 'native-base'; </s> add import { VStack, Image } from 'native-base'; </s> remove import { Rect, Path, Circle } from 'react-native-svg'; </s> add import { Svg, Path, G } from 'react-native-svg'; </s> remove <Box size={200}> <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </Box> </s> add <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </s> remove <HStack alignItems="center" space={2}> <Image size={12} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={20} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={32} source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </HStack> </s> add <VStack space={2} alignItems="center"> {['xs', 'sm', 'md', 'lg', 'xl', '2xl'].map((size) => ( <Image size={size} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt={'Alternate Text ' + size} /> ))} </VStack>
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903
example/storybook/stories/components/primitives/Row/Basic.tsx
<Row space={2}> <Center size={16} bg="primary.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 1 </Center> <Center bg="secondary.400" size={16} rounded="md" _text={{ color: 'white' }} shadow={3} > Box 2 </Center> <Center size={16} bg="emerald.400" rounded="md" _text={{ color: 'white' }} shadow={3} > Box 3 </Center>
<mask> import { Row, Text } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <Row> <mask> <Text>Test Text</Text> <mask> <Text>Testing this text with Row</Text> <mask> </Row> <mask> ); <mask> } </s> fix: changes in few components </s> remove import { Row, Text } from 'native-base'; </s> add import { Center, Row } from 'native-base'; </s> remove import { HStack, Image } from 'native-base'; </s> add import { VStack, Image } from 'native-base'; </s> remove import { Rect, Path, Circle } from 'react-native-svg'; </s> add import { Svg, Path, G } from 'react-native-svg'; </s> remove <Box size={200}> <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </Box> </s> add <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </s> remove <HStack alignItems="center" space={2}> <Image size={12} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={20} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> <Image size={32} source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </HStack> </s> add <VStack space={2} alignItems="center"> {['xs', 'sm', 'md', 'lg', 'xl', '2xl'].map((size) => ( <Image size={size} resizeMode="cover" source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt={'Alternate Text ' + size} /> ))} </VStack>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903
example/storybook/stories/components/primitives/Row/Basic.tsx
'2xs': { size: 6 }, 'xs': { size: 10 }, 'sm': { size: 16 }, 'md': { size: 20 }, 'lg': { size: 24 }, 'xl': { size: 32 }, '2xl': { size: 64 },
<mask> // Image <mask> const sizes = { <mask> '2xs': { size: 4 }, <mask> 'xs': { size: 6 }, <mask> 'sm': { size: 8 }, <mask> 'md': { size: 12 }, <mask> 'lg': { size: 16 }, <mask> 'xl': { size: 24 }, <mask> '2xl': { size: 32 }, <mask> 'full': { size: '100%' }, <mask> }; <mask> <mask> export const Image = { <mask> baseStyle: { </s> fix: changes in few components </s> remove size: 'full', </s> add size: 'md', </s> remove <Heading mb={3}>Adding Spacer</Heading> <Flex h={56} w={20}> </s> add <Heading>Adding Spacer</Heading> <Flex h={40} w={20} mt={6}> </s> remove import { HStack, Image } from 'native-base'; </s> add import { VStack, Image } from 'native-base'; </s> remove import { Row, Text } from 'native-base'; </s> add import { Center, Row } from 'native-base'; </s> remove import { Rect, Path, Circle } from 'react-native-svg'; </s> add import { Svg, Path, G } from 'react-native-svg';
[ "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903
src/theme/components/image.ts
size: 'md',
<mask> maxWidth: '100%', <mask> }, <mask> sizes, <mask> defaultProps: { <mask> size: 'full', <mask> }, <mask> }; </s> fix: changes in few components </s> remove '2xs': { size: 4 }, 'xs': { size: 6 }, 'sm': { size: 8 }, 'md': { size: 12 }, 'lg': { size: 16 }, 'xl': { size: 24 }, '2xl': { size: 32 }, </s> add '2xs': { size: 6 }, 'xs': { size: 10 }, 'sm': { size: 16 }, 'md': { size: 20 }, 'lg': { size: 24 }, 'xl': { size: 32 }, '2xl': { size: 64 }, </s> remove import { Row, Text } from 'native-base'; </s> add import { Center, Row } from 'native-base'; </s> remove import { HStack, Image } from 'native-base'; </s> add import { VStack, Image } from 'native-base'; </s> remove import { Rect, Path, Circle } from 'react-native-svg'; </s> add import { Svg, Path, G } from 'react-native-svg'; </s> remove <Box size={200}> <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" /> </Box> </s> add <Image source={{ uri: 'https://wallpaperaccess.com/full/317501.jpg', }} alt="Alternate Text" />
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903
src/theme/components/image.ts
visible,
<mask> contentSize, <mask> initialFocusRef, <mask> finalFocusRef, <mask> }; <mask> }, [handleClose, contentSize, initialFocusRef, finalFocusRef, visible]); <mask> <mask> //TODO: refactor for responsive prop <mask> if (useHasResponsiveProps(rest)) { <mask> return null; </s> fix: modal inital ref issue fixed </s> remove }, [handleClose, contentSize, initialFocusRef, finalFocusRef]); </s> add }, [handleClose, contentSize, initialFocusRef, finalFocusRef, visible]); </s> remove if (initialFocusRef && initialFocusRef.current) { //@ts-ignore initialFocusRef.current.focus(); } return () => { </s> add if (visible) { if (initialFocusRef && initialFocusRef.current) { //@ts-ignore initialFocusRef.current.focus(); } } else { </s> remove }; }, [initialFocusRef, finalFocusRef]); </s> add } }, [initialFocusRef, finalFocusRef, visible]);
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55a4dd8230475366159b3716003c2995e1704c78
src/components/composites/Modal/Modal.tsx
}, [handleClose, contentSize, initialFocusRef, finalFocusRef, visible]);
<mask> contentSize, <mask> initialFocusRef, <mask> finalFocusRef, <mask> }; <mask> }, [handleClose, contentSize, initialFocusRef, finalFocusRef]); <mask> <mask> //TODO: refactor for responsive prop <mask> if (useHasResponsiveProps(rest)) { <mask> return null; <mask> } </s> fix: modal inital ref issue fixed </s> remove }; }, [initialFocusRef, finalFocusRef]); </s> add } }, [initialFocusRef, finalFocusRef, visible]); </s> remove if (initialFocusRef && initialFocusRef.current) { //@ts-ignore initialFocusRef.current.focus(); } return () => { </s> add if (visible) { if (initialFocusRef && initialFocusRef.current) { //@ts-ignore initialFocusRef.current.focus(); } } else {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55a4dd8230475366159b3716003c2995e1704c78
src/components/composites/Modal/Modal.tsx
visible,
<mask> finalFocusRef, <mask> handleClose, <mask> } = React.useContext(ModalContext); <mask> React.useEffect(() => { <mask> const finalRefVal = finalFocusRef ? finalFocusRef.current : null; <mask> if (visible) { <mask> if (initialFocusRef && initialFocusRef.current) { </s> fix: modal inital ref issue fixed </s> remove if (initialFocusRef && initialFocusRef.current) { //@ts-ignore initialFocusRef.current.focus(); } return () => { </s> add if (visible) { if (initialFocusRef && initialFocusRef.current) { //@ts-ignore initialFocusRef.current.focus(); } } else { </s> remove }, [handleClose, contentSize, initialFocusRef, finalFocusRef]); </s> add }, [handleClose, contentSize, initialFocusRef, finalFocusRef, visible]); </s> remove }; }, [initialFocusRef, finalFocusRef]); </s> add } }, [initialFocusRef, finalFocusRef, visible]);
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55a4dd8230475366159b3716003c2995e1704c78
src/components/composites/Modal/ModalContent.tsx
if (visible) { if (initialFocusRef && initialFocusRef.current) { //@ts-ignore initialFocusRef.current.focus(); } } else {
<mask> handleClose, <mask> } = React.useContext(ModalContext); <mask> React.useEffect(() => { <mask> const finalRefVal = finalFocusRef ? finalFocusRef.current : null; <mask> if (initialFocusRef && initialFocusRef.current) { <mask> //@ts-ignore <mask> initialFocusRef.current.focus(); <mask> } <mask> <mask> return () => { <mask> if (finalRefVal) { <mask> //@ts-ignore <mask> finalRefVal.focus(); <mask> } <mask> }; </s> fix: modal inital ref issue fixed </s> remove }; }, [initialFocusRef, finalFocusRef]); </s> add } }, [initialFocusRef, finalFocusRef, visible]); </s> remove }, [handleClose, contentSize, initialFocusRef, finalFocusRef]); </s> add }, [handleClose, contentSize, initialFocusRef, finalFocusRef, visible]);
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55a4dd8230475366159b3716003c2995e1704c78
src/components/composites/Modal/ModalContent.tsx
} }, [initialFocusRef, finalFocusRef, visible]);
<mask> if (finalRefVal) { <mask> //@ts-ignore <mask> finalRefVal.focus(); <mask> } <mask> }; <mask> }, [initialFocusRef, finalFocusRef]); <mask> <mask> //TODO: refactor for responsive prop <mask> if (useHasResponsiveProps(props)) { <mask> return null; <mask> } </s> fix: modal inital ref issue fixed </s> remove if (initialFocusRef && initialFocusRef.current) { //@ts-ignore initialFocusRef.current.focus(); } return () => { </s> add if (visible) { if (initialFocusRef && initialFocusRef.current) { //@ts-ignore initialFocusRef.current.focus(); } } else { </s> remove }, [handleClose, contentSize, initialFocusRef, finalFocusRef]); </s> add }, [handleClose, contentSize, initialFocusRef, finalFocusRef, visible]);
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/55a4dd8230475366159b3716003c2995e1704c78
src/components/composites/Modal/ModalContent.tsx
import { MaterialIcons } from '@expo/vector-icons';
<mask> import React from 'react'; <mask> import { Input, Icon, useColorModeValue } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Input </s> Fix/v3 icon focus issue (#3697) * fix: icon focus fix * fix: local Icons focus fix * fix: props order for priority </s> remove import { Path } from 'react-native-svg'; </s> add import { Path } from './nbSvg'; </s> remove import { Path } from 'react-native-svg'; </s> add import { Path } from '../nbSvg'; </s> remove import { G, Polygon } from 'react-native-svg'; </s> add import { G, Polygon } from '../nbSvg'; </s> remove import { G, Path, Circle } from 'react-native-svg'; </s> add import { G, Path, Circle } from '../nbSvg'; </s> remove import { G, Rect } from 'react-native-svg'; </s> add import { G, Rect } from '../nbSvg';
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6
example/storybook/stories/components/primitives/Input/Elements.tsx
as={<MaterialIcons name="phone" />}
<mask> return ( <mask> <Input <mask> InputLeftElement={ <mask> <Icon <mask> name="phone" <mask> size="md" <mask> type="MaterialIcons" <mask> m={2} <mask> color={useColorModeValue('black', 'gray.300')} <mask> /> </s> Fix/v3 icon focus issue (#3697) * fix: icon focus fix * fix: local Icons focus fix * fix: props order for priority </s> remove type="MaterialIcons" </s> add </s> remove name="person" </s> add as={<MaterialIcons name="person" />} </s> remove type="MaterialIcons" </s> add </s> remove import { G, Rect } from 'react-native-svg'; </s> add import { G, Rect } from '../nbSvg';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6
example/storybook/stories/components/primitives/Input/Elements.tsx
<mask> InputLeftElement={ <mask> <Icon <mask> name="phone" <mask> size="md" <mask> type="MaterialIcons" <mask> m={2} <mask> color={useColorModeValue('black', 'gray.300')} <mask> /> <mask> } <mask> InputRightElement={ </s> Fix/v3 icon focus issue (#3697) * fix: icon focus fix * fix: local Icons focus fix * fix: props order for priority </s> remove name="phone" </s> add as={<MaterialIcons name="phone" />} </s> remove name="person" </s> add as={<MaterialIcons name="person" />} </s> remove type="MaterialIcons" </s> add </s> remove import { G, Rect } from 'react-native-svg'; </s> add import { G, Rect } from '../nbSvg'; </s> remove import { Svg, G } from 'react-native-svg'; </s> add import { Svg, G } from './nbSvg';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6
example/storybook/stories/components/primitives/Input/Elements.tsx
as={<MaterialIcons name="person" />}
<mask> /> <mask> } <mask> InputRightElement={ <mask> <Icon <mask> name="person" <mask> size="md" <mask> type="MaterialIcons" <mask> m={2} <mask> color={useColorModeValue('black', 'gray.300')} <mask> /> </s> Fix/v3 icon focus issue (#3697) * fix: icon focus fix * fix: local Icons focus fix * fix: props order for priority </s> remove type="MaterialIcons" </s> add </s> remove type="MaterialIcons" </s> add </s> remove name="phone" </s> add as={<MaterialIcons name="phone" />} </s> remove import { G, Rect } from 'react-native-svg'; </s> add import { G, Rect } from '../nbSvg'; </s> remove import { Svg, G } from 'react-native-svg'; </s> add import { Svg, G } from './nbSvg';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6
example/storybook/stories/components/primitives/Input/Elements.tsx
<mask> InputRightElement={ <mask> <Icon <mask> name="person" <mask> size="md" <mask> type="MaterialIcons" <mask> m={2} <mask> color={useColorModeValue('black', 'gray.300')} <mask> /> <mask> } <mask> placeholder="Left and Right InputElement" </s> Fix/v3 icon focus issue (#3697) * fix: icon focus fix * fix: local Icons focus fix * fix: props order for priority </s> remove name="person" </s> add as={<MaterialIcons name="person" />} </s> remove type="MaterialIcons" </s> add </s> remove name="phone" </s> add as={<MaterialIcons name="phone" />} </s> remove import { G, Rect } from 'react-native-svg'; </s> add import { G, Rect } from '../nbSvg'; </s> remove import { Svg, G } from 'react-native-svg'; </s> add import { Svg, G } from './nbSvg';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6
example/storybook/stories/components/primitives/Input/Elements.tsx
import { G, Polygon } from '../nbSvg';
<mask> import React from 'react'; <mask> import { createIcon } from '../createIcon'; <mask> import { G, Polygon } from 'react-native-svg'; <mask> <mask> export const CheckIcon = createIcon({ <mask> viewBox: '0 0 14 14', <mask> path: ( <mask> <G fill="currentColor"> </s> Fix/v3 icon focus issue (#3697) * fix: icon focus fix * fix: local Icons focus fix * fix: props order for priority </s> remove import { G, Rect } from 'react-native-svg'; </s> add import { G, Rect } from '../nbSvg'; </s> remove import { G, Path, Circle } from 'react-native-svg'; </s> add import { G, Path, Circle } from '../nbSvg'; </s> remove import { G, Line, Circle } from 'react-native-svg'; </s> add import { G, Line, Circle } from '../nbSvg'; </s> remove import { G, Path, Circle } from 'react-native-svg'; </s> add import { G, Path, Circle } from '../nbSvg'; </s> remove import { Path } from 'react-native-svg'; </s> add import { Path } from '../nbSvg';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6
src/components/primitives/Icon/Icons/Check.tsx
import { Path } from '../nbSvg';
<mask> import React from 'react'; <mask> import { createIcon } from '../createIcon'; <mask> import { Path } from 'react-native-svg'; <mask> <mask> export const CloseIcon = createIcon({ <mask> viewBox: '0 0 24 24', <mask> d: <mask> 'M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z', </s> Fix/v3 icon focus issue (#3697) * fix: icon focus fix * fix: local Icons focus fix * fix: props order for priority </s> remove import { G, Path, Circle } from 'react-native-svg'; </s> add import { G, Path, Circle } from '../nbSvg'; </s> remove import { G, Path, Circle } from 'react-native-svg'; </s> add import { G, Path, Circle } from '../nbSvg'; </s> remove import { G, Line, Circle } from 'react-native-svg'; </s> add import { G, Line, Circle } from '../nbSvg'; </s> remove import { Path } from 'react-native-svg'; </s> add import { Path } from './nbSvg'; </s> remove import { G, Polygon } from 'react-native-svg'; </s> add import { G, Polygon } from '../nbSvg';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6
src/components/primitives/Icon/Icons/Close.tsx
import { G, Line, Circle } from '../nbSvg';
<mask> import React from 'react'; <mask> import { createIcon } from '../createIcon'; <mask> import { G, Line, Circle } from 'react-native-svg'; <mask> <mask> export const InfoOutlineIcon = createIcon({ <mask> viewBox: '0 0 24 24', <mask> path: ( <mask> <G </s> Fix/v3 icon focus issue (#3697) * fix: icon focus fix * fix: local Icons focus fix * fix: props order for priority </s> remove import { G, Path, Circle } from 'react-native-svg'; </s> add import { G, Path, Circle } from '../nbSvg'; </s> remove import { G, Path, Circle } from 'react-native-svg'; </s> add import { G, Path, Circle } from '../nbSvg'; </s> remove import { G, Polygon } from 'react-native-svg'; </s> add import { G, Polygon } from '../nbSvg'; </s> remove import { Path } from 'react-native-svg'; </s> add import { Path } from '../nbSvg'; </s> remove import { G, Rect } from 'react-native-svg'; </s> add import { G, Rect } from '../nbSvg';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6
src/components/primitives/Icon/Icons/Info.tsx
import { G, Rect } from '../nbSvg';
<mask> import React from 'react'; <mask> import { createIcon } from '../createIcon'; <mask> import { G, Rect } from 'react-native-svg'; <mask> <mask> export const MinusIcon = createIcon({ <mask> path: ( <mask> <G fill="currentColor"> <mask> <Rect height="4" width="20" x="2" y="10" /> </s> Fix/v3 icon focus issue (#3697) * fix: icon focus fix * fix: local Icons focus fix * fix: props order for priority </s> remove import { G, Polygon } from 'react-native-svg'; </s> add import { G, Polygon } from '../nbSvg'; </s> remove import { G, Path, Circle } from 'react-native-svg'; </s> add import { G, Path, Circle } from '../nbSvg'; </s> remove import { G, Line, Circle } from 'react-native-svg'; </s> add import { G, Line, Circle } from '../nbSvg'; </s> remove import { G, Path, Circle } from 'react-native-svg'; </s> add import { G, Path, Circle } from '../nbSvg'; </s> remove import { Path } from 'react-native-svg'; </s> add import { Path } from '../nbSvg';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6
src/components/primitives/Icon/Icons/Minus.tsx
import { G, Path, Circle } from '../nbSvg';
<mask> import React from 'react'; <mask> import { createIcon } from '../createIcon'; <mask> import { G, Path, Circle } from 'react-native-svg'; <mask> <mask> export const QuestionIcon = createIcon({ <mask> viewBox: '0 0 24 24', <mask> d: <mask> 'M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,19a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,12,19Zm1.6-6.08a1,1,0,0,0-.6.917,1,1,0,1,1-2,0,3,3,0,0,1,1.8-2.75A2,2,0,1,0,10,9.255a1,1,0,1,1-2,0,4,4,0,1,1,5.6,3.666Z', </s> Fix/v3 icon focus issue (#3697) * fix: icon focus fix * fix: local Icons focus fix * fix: props order for priority </s> remove import { G, Path, Circle } from 'react-native-svg'; </s> add import { G, Path, Circle } from '../nbSvg'; </s> remove import { G, Line, Circle } from 'react-native-svg'; </s> add import { G, Line, Circle } from '../nbSvg'; </s> remove import { Path } from 'react-native-svg'; </s> add import { Path } from '../nbSvg'; </s> remove import { G, Polygon } from 'react-native-svg'; </s> add import { G, Polygon } from '../nbSvg'; </s> remove import { G, Rect } from 'react-native-svg'; </s> add import { G, Rect } from '../nbSvg';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6
src/components/primitives/Icon/Icons/Question.tsx
import { G, Path, Circle } from '../nbSvg';
<mask> import React from 'react'; <mask> import { createIcon } from '../createIcon'; <mask> import { G, Path, Circle } from 'react-native-svg'; <mask> <mask> export const SunIcon = createIcon({ <mask> viewBox: '0 0 24 24', <mask> path: ( <mask> <G </s> Fix/v3 icon focus issue (#3697) * fix: icon focus fix * fix: local Icons focus fix * fix: props order for priority </s> remove import { G, Path, Circle } from 'react-native-svg'; </s> add import { G, Path, Circle } from '../nbSvg'; </s> remove import { G, Line, Circle } from 'react-native-svg'; </s> add import { G, Line, Circle } from '../nbSvg'; </s> remove import { G, Polygon } from 'react-native-svg'; </s> add import { G, Polygon } from '../nbSvg'; </s> remove import { Path } from 'react-native-svg'; </s> add import { Path } from '../nbSvg'; </s> remove import { G, Rect } from 'react-native-svg'; </s> add import { G, Rect } from '../nbSvg';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6
src/components/primitives/Icon/Icons/Sun.tsx