docstring_tokens
stringlengths
0
76.5k
code_tokens
stringlengths
75
1.81M
label_window
sequencelengths
4
2.12k
html_url
stringlengths
74
116
file_name
stringlengths
3
311
Center,
<mask> Box, <mask> Heading, <mask> } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( </s> feat: example design changes (#4522) </s> remove import { Box, Progress, Heading, Center } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove import { Button, Box, Heading, VStack } from 'native-base'; </s> add import { Button, Box, VStack } from 'native-base'; </s> remove import { IconButton, Box, Center, Heading, VStack } from 'native-base'; </s> add import { IconButton, Box, Center, VStack } from 'native-base'; </s> remove import { Slider, Heading, VStack } from 'native-base'; </s> add import { Slider, Box, VStack } from 'native-base'; </s> remove import { Center, Heading, Radio } from 'native-base'; </s> add import { Radio, Stack } from 'native-base';
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/basic.tsx
<Center> <Alert w="90%" maxW="400" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} />
<mask> } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Alert w="100%" colorScheme="info"> <mask> <VStack space={1} flexShrink={1} w="100%"> <mask> <HStack <mask> flexShrink={1} <mask> space={2} <mask> alignItems="center" <mask> justifyContent="space-between" <mask> > <mask> <HStack space={2} flexShrink={1} alignItems="center"> <mask> <Alert.Icon /> <mask> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> <mask> We are going live in July! <mask> </Heading> <mask> </HStack> <mask> <IconButton <mask> variant="unstyled" <mask> icon={<CloseIcon size="3" color="coolGray.600" />} <mask> /> </s> feat: example design changes (#4522) </s> remove <Alert w="100%" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </s> add <Center> <Alert w="90%" maxW="400" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> add <Center> <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <Stack space={3} w="100%"> {statusArray.map((status) => { return ( <Alert w="100%" status={status.status}> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} justifyContent="space-between"> <HStack space={2} flexShrink={1}> <Alert.Icon mt="1" /> <Text fontSize="md" color="coolGray.800"> {status.title} </Text> </s> add <Center> <Stack space={3} w="90%" maxW="400"> {statusArray.map((status) => { return ( <Alert w="100%" status={status.status}> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} justifyContent="space-between"> <HStack space={2} flexShrink={1}> <Alert.Icon mt="1" /> <Text fontSize="md" color="coolGray.800"> {status.title} </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <Alert w="100%" status="error"> </s> add <Alert w="90%" maxW="400" status="error"> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </s> add <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/basic.tsx
<Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center>
<mask> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> <mask> We are going live in July! <mask> </Heading> <mask> </HStack> <mask> <IconButton <mask> variant="unstyled" <mask> icon={<CloseIcon size="3" color="coolGray.600" />} <mask> /> <mask> </HStack> <mask> <Box pl="6" _text={{ color: 'coolGray.600' }}> <mask> We are happy to announce that we are going live on July 28th. Get <mask> ready! <mask> </Box> <mask> </VStack> <mask> </Alert> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </s> add <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center> </s> remove <Alert w="100%" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </s> add <Center> <Alert w="90%" maxW="400" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <Alert w="100%" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </s> add <Center> <Alert w="90%" maxW="400" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> </VStack> </Alert> ); })} </Stack> </s> add </VStack> </Alert> ); })} </Stack> </Center> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _dark={{ _text: { color: 'coolGray.600' } }}> Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> <Alert w="100%" status="success"> <VStack space={1} flexShrink={1} w="100%" alignItems="center"> <Alert.Icon size="md" /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> add <Box pl="6" _dark={{ _text: { color: 'coolGray.600' } }}> Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> <Alert w="100%" status="success"> <VStack space={1} flexShrink={1} w="100%" alignItems="center"> <Alert.Icon size="md" /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/basic.tsx
Center,
<mask> CloseIcon, <mask> HStack, <mask> VStack, <mask> Text, <mask> } from 'native-base'; <mask> <mask> export function Example() { <mask> return ( <mask> <Center> <mask> <VStack space={5} maxW="400"> </s> feat: example design changes (#4522) </s> remove ScrollView, </s> add Center, </s> remove import { Pressable, Text, Box, HStack, Spacer, Flex } from 'native-base'; </s> add import { Pressable, Text, Box, HStack, Spacer, Flex, Badge } from 'native-base'; </s> remove import { Pressable, Text, Box, HStack, Spacer, Flex } from 'native-base'; </s> add import { Pressable, Text, Box, HStack, Spacer, Flex, Badge } from 'native-base';
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/composition.tsx
<Center> <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} />
<mask> } from 'native-base'; <mask> <mask> export function Example() { <mask> return ( <mask> <VStack space={5} maxW="400"> <mask> <Alert w="100%" status="success"> <mask> <VStack space={2} flexShrink={1} w="100%"> <mask> <HStack <mask> flexShrink={1} <mask> space={1} <mask> alignItems="center" <mask> justifyContent="space-between" <mask> > <mask> <HStack space={2} flexShrink={1} alignItems="center"> <mask> <Alert.Icon /> <mask> <Text <mask> fontSize="md" <mask> fontWeight="medium" <mask> _dark={{ color: 'coolGray.800' }} <mask> > <mask> Application received! <mask> </Text> <mask> </HStack> <mask> <IconButton <mask> variant="unstyled" <mask> icon={<CloseIcon size="3" color="coolGray.600" />} <mask> /> </s> feat: example design changes (#4522) </s> remove <Alert w="100%" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </s> add <Center> <Alert w="90%" maxW="400" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <Alert w="100%" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </s> add <Center> <Alert w="90%" maxW="400" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <Stack space={3} w="100%"> {statusArray.map((status) => { return ( <Alert w="100%" status={status.status}> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} justifyContent="space-between"> <HStack space={2} flexShrink={1}> <Alert.Icon mt="1" /> <Text fontSize="md" color="coolGray.800"> {status.title} </Text> </s> add <Center> <Stack space={3} w="90%" maxW="400"> {statusArray.map((status) => { return ( <Alert w="100%" status={status.status}> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} justifyContent="space-between"> <HStack space={2} flexShrink={1}> <Alert.Icon mt="1" /> <Text fontSize="md" color="coolGray.800"> {status.title} </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _dark={{ _text: { color: 'coolGray.600' } }}> Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> <Alert w="100%" status="success"> <VStack space={1} flexShrink={1} w="100%" alignItems="center"> <Alert.Icon size="md" /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> add <Box pl="6" _dark={{ _text: { color: 'coolGray.600' } }}> Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> <Alert w="100%" status="success"> <VStack space={1} flexShrink={1} w="100%" alignItems="center"> <Alert.Icon size="md" /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> remove <Alert w="100%" status="error"> </s> add <Alert w="90%" maxW="400" status="error">
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/composition.tsx
<Box pl="6" _dark={{ _text: { color: 'coolGray.600' } }}> Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> <Alert w="100%" status="success"> <VStack space={1} flexShrink={1} w="100%" alignItems="center"> <Alert.Icon size="md" /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text>
<mask> > <mask> Application received! <mask> </Text> <mask> </HStack> <mask> <IconButton <mask> variant="unstyled" <mask> icon={<CloseIcon size="3" color="coolGray.600" />} <mask> /> <mask> </HStack> <mask> <Box pl="6" _dark={{ _text: { color: 'coolGray.600' } }}> <mask> Your application has been received. We will review your application <mask> and respond within the next 48 hours. <mask> </Box> <mask> </VStack> <mask> </Alert> <mask> <Alert w="100%" status="success"> <mask> <VStack space={1} flexShrink={1} w="100%" alignItems="center"> <mask> <Alert.Icon size="md" /> <mask> <Text <mask> fontSize="md" <mask> fontWeight="medium" <mask> _dark={{ color: 'coolGray.800' }} <mask> > <mask> Application received! <mask> </Text> <mask> <mask> <Box <mask> _text={{ textAlign: 'center' }} <mask> _dark={{ _text: { color: 'coolGray.600' } }} <mask> > </s> feat: example design changes (#4522) </s> remove <Box _text={{ textAlign: 'center' }} _dark={{ _text: { color: 'coolGray.600' } }} > Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> </VStack> </s> add <Box _text={{ textAlign: 'center' }} _dark={{ _text: { color: 'coolGray.600' } }} > Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> </VStack> </Center> </s> remove <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> add <Center> <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </s> add <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center> </s> remove <Alert w="100%" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </s> add <Center> <Alert w="90%" maxW="400" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </s> add <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </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", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/composition.tsx
<Box _text={{ textAlign: 'center' }} _dark={{ _text: { color: 'coolGray.600' } }} > Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> </VStack> </Center>
<mask> > <mask> Application received! <mask> </Text> <mask> <mask> <Box <mask> _text={{ textAlign: 'center' }} <mask> _dark={{ _text: { color: 'coolGray.600' } }} <mask> > <mask> Your application has been received. We will review your application <mask> and respond within the next 48 hours. <mask> </Box> <mask> </VStack> <mask> </Alert> <mask> </VStack> <mask> ); <mask> } </s> feat: example design changes (#4522) </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _dark={{ _text: { color: 'coolGray.600' } }}> Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> <Alert w="100%" status="success"> <VStack space={1} flexShrink={1} w="100%" alignItems="center"> <Alert.Icon size="md" /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> add <Box pl="6" _dark={{ _text: { color: 'coolGray.600' } }}> Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> <Alert w="100%" status="success"> <VStack space={1} flexShrink={1} w="100%" alignItems="center"> <Alert.Icon size="md" /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </s> add <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </s> add <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center> </s> remove <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> add <Center> <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> </VStack> </Alert> ); })} </Stack> </s> add </VStack> </Alert> ); })} </Stack> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/composition.tsx
Center,
<mask> HStack, <mask> VStack, <mask> CloseIcon, <mask> Text, <mask> } from 'native-base'; <mask> <mask> export function Example() { <mask> const statusArray = [ </s> feat: example design changes (#4522) </s> remove ScrollView, </s> add Center, </s> remove import { Button, Modal, VStack, HStack, Text, Radio } from 'native-base'; </s> add import { Button, Modal, VStack, HStack, Text, Radio, Center, } from 'native-base'; </s> remove import { Modal, Button, ScrollView, Text, Heading, Center, VStack, } from 'native-base'; </s> add import { Modal, Button, ScrollView, Text, Center, VStack } from 'native-base';
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/status.tsx
<Center> <Stack space={3} w="90%" maxW="400"> {statusArray.map((status) => { return ( <Alert w="100%" status={status.status}> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} justifyContent="space-between"> <HStack space={2} flexShrink={1}> <Alert.Icon mt="1" /> <Text fontSize="md" color="coolGray.800"> {status.title} </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} />
<mask> title: 'Poor internet connection.', <mask> }, <mask> ]; <mask> return ( <mask> <Stack space={3} w="100%"> <mask> {statusArray.map((status) => { <mask> return ( <mask> <Alert w="100%" status={status.status}> <mask> <VStack space={2} flexShrink={1} w="100%"> <mask> <HStack flexShrink={1} space={2} justifyContent="space-between"> <mask> <HStack space={2} flexShrink={1}> <mask> <Alert.Icon mt="1" /> <mask> <Text fontSize="md" color="coolGray.800"> <mask> {status.title} <mask> </Text> <mask> </HStack> <mask> <IconButton <mask> variant="unstyled" <mask> icon={<CloseIcon size="3" color="coolGray.600" />} <mask> /> </s> feat: example design changes (#4522) </s> remove <Alert w="100%" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </s> add <Center> <Alert w="90%" maxW="400" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> add <Center> <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <Alert w="100%" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </s> add <Center> <Alert w="90%" maxW="400" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <Alert w="100%" status="error"> </s> add <Alert w="90%" maxW="400" status="error"> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> </VStack> </Alert> ); })} </Stack> </s> add </VStack> </Alert> ); })} </Stack> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/status.tsx
</VStack> </Alert> ); })} </Stack> </Center>
<mask> <Text fontSize="md" color="coolGray.800"> <mask> {status.title} <mask> </Text> <mask> </HStack> <mask> <IconButton <mask> variant="unstyled" <mask> icon={<CloseIcon size="3" color="coolGray.600" />} <mask> /> <mask> </HStack> <mask> </VStack> <mask> </Alert> <mask> ); <mask> })} <mask> </Stack> <mask> ); <mask> } </s> feat: example design changes (#4522) </s> remove <Stack space={3} w="100%"> {statusArray.map((status) => { return ( <Alert w="100%" status={status.status}> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} justifyContent="space-between"> <HStack space={2} flexShrink={1}> <Alert.Icon mt="1" /> <Text fontSize="md" color="coolGray.800"> {status.title} </Text> </s> add <Center> <Stack space={3} w="90%" maxW="400"> {statusArray.map((status) => { return ( <Alert w="100%" status={status.status}> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} justifyContent="space-between"> <HStack space={2} flexShrink={1}> <Alert.Icon mt="1" /> <Text fontSize="md" color="coolGray.800"> {status.title} </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <Alert w="100%" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </s> add <Center> <Alert w="90%" maxW="400" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </s> add <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center> </s> remove <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> add <Center> <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <Alert w="100%" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </s> add <Center> <Alert w="90%" maxW="400" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} />
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/status.tsx
Center,
<mask> IconButton, <mask> CloseIcon, <mask> Box, <mask> Text, <mask> } from 'native-base'; <mask> export function Example() { <mask> return ( <mask> <Center> <mask> <Alert w="90%" maxW="400" status="info" colorScheme="info"> </s> feat: example design changes (#4522) </s> remove <Alert w="100%" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </s> add <Center> <Alert w="90%" maxW="400" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove import { IconButton, Box, Center, Heading, VStack } from 'native-base'; </s> add import { IconButton, Box, Center, VStack } from 'native-base'; </s> remove import { Pressable, Text, Box, HStack, Spacer, Flex } from 'native-base'; </s> add import { Pressable, Text, Box, HStack, Spacer, Flex, Badge } from 'native-base';
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/usage.tsx
<Center> <Alert w="90%" maxW="400" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} />
<mask> Text, <mask> } from 'native-base'; <mask> export function Example() { <mask> return ( <mask> <Alert w="100%" status="info" colorScheme="info"> <mask> <VStack space={2} flexShrink={1} w="100%"> <mask> <HStack <mask> flexShrink={1} <mask> space={2} <mask> alignItems="center" <mask> justifyContent="space-between" <mask> > <mask> <HStack flexShrink={1} space={2} alignItems="center"> <mask> <Alert.Icon /> <mask> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> <mask> We are going live in July! <mask> </Text> <mask> </HStack> <mask> <IconButton <mask> variant="unstyled" <mask> icon={<CloseIcon size="3" color="coolGray.600" />} <mask> /> </s> feat: example design changes (#4522) </s> remove <Alert w="100%" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </s> add <Center> <Alert w="90%" maxW="400" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> add <Center> <VStack space={5} maxW="400"> <Alert w="100%" status="success"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={1} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <Stack space={3} w="100%"> {statusArray.map((status) => { return ( <Alert w="100%" status={status.status}> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} justifyContent="space-between"> <HStack space={2} flexShrink={1}> <Alert.Icon mt="1" /> <Text fontSize="md" color="coolGray.800"> {status.title} </Text> </s> add <Center> <Stack space={3} w="90%" maxW="400"> {statusArray.map((status) => { return ( <Alert w="100%" status={status.status}> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} justifyContent="space-between"> <HStack space={2} flexShrink={1}> <Alert.Icon mt="1" /> <Text fontSize="md" color="coolGray.800"> {status.title} </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </s> add <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center> </s> remove <Alert w="100%" status="error"> </s> add <Alert w="90%" maxW="400" status="error">
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/usage.tsx
<Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center>
<mask> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> <mask> We are going live in July! <mask> </Text> <mask> </HStack> <mask> <IconButton <mask> variant="unstyled" <mask> icon={<CloseIcon size="3" color="coolGray.600" />} <mask> /> <mask> </HStack> <mask> <Box pl="6" _text={{ color: 'coolGray.600' }}> <mask> We are happy to announce that we are going live on July 28th. Get <mask> ready! <mask> </Box> <mask> </VStack> <mask> </Alert> <mask> ); <mask> } </s> feat: example design changes (#4522) </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </s> add <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center> </s> remove <Alert w="100%" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </s> add <Center> <Alert w="90%" maxW="400" status="info" colorScheme="info"> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack flexShrink={1} space={2} alignItems="center"> <Alert.Icon /> <Text fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <Alert w="100%" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </s> add <Center> <Alert w="90%" maxW="400" colorScheme="info"> <VStack space={1} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} alignItems="center" justifyContent="space-between" > <HStack space={2} flexShrink={1} alignItems="center"> <Alert.Icon /> <Heading fontSize="md" fontWeight="medium" color="coolGray.800"> We are going live in July! </Heading> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> </VStack> </Alert> ); })} </Stack> </s> add </VStack> </Alert> ); })} </Stack> </Center> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _dark={{ _text: { color: 'coolGray.600' } }}> Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> <Alert w="100%" status="success"> <VStack space={1} flexShrink={1} w="100%" alignItems="center"> <Alert.Icon size="md" /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text> </s> add <Box pl="6" _dark={{ _text: { color: 'coolGray.600' } }}> Your application has been received. We will review your application and respond within the next 48 hours. </Box> </VStack> </Alert> <Alert w="100%" status="success"> <VStack space={1} flexShrink={1} w="100%" alignItems="center"> <Alert.Icon size="md" /> <Text fontSize="md" fontWeight="medium" _dark={{ color: 'coolGray.800' }} > Application received! </Text>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/usage.tsx
Center,
<mask> HStack, <mask> VStack, <mask> Text, <mask> Divider, <mask> ScrollView, <mask> } from 'native-base'; <mask> <mask> export function Example() { <mask> const getTextColor = ( <mask> variant: </s> feat: example design changes (#4522) </s> remove import { Modal, Button, ScrollView, Text, Heading, Center, VStack, } from 'native-base'; </s> add import { Modal, Button, ScrollView, Text, Center, VStack } from 'native-base'; </s> remove import { Button, Modal, VStack, HStack, Text, Radio } from 'native-base'; </s> add import { Button, Modal, VStack, HStack, Text, Radio, Center, } from 'native-base'; </s> remove import { Divider, Flex, Text } from 'native-base'; </s> add import { Divider, Flex, Text, Box } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/variant.tsx
<Center> <Stack space={3} w="90%" maxW="400">
<mask> } <mask> }; <mask> <mask> return ( <mask> <ScrollView px="30" my="3" showsVerticalScrollIndicator={false}> <mask> <Stack space={3} w="100%"> <mask> {[ <mask> 'solid', <mask> 'left-accent', <mask> 'top-accent', <mask> 'outline', </s> feat: example design changes (#4522) </s> remove <Stack space={3} w="100%"> {statusArray.map((status) => { return ( <Alert w="100%" status={status.status}> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} justifyContent="space-between"> <HStack space={2} flexShrink={1}> <Alert.Icon mt="1" /> <Text fontSize="md" color="coolGray.800"> {status.title} </Text> </s> add <Center> <Stack space={3} w="90%" maxW="400"> {statusArray.map((status) => { return ( <Alert w="100%" status={status.status}> <VStack space={2} flexShrink={1} w="100%"> <HStack flexShrink={1} space={2} justifyContent="space-between"> <HStack space={2} flexShrink={1}> <Alert.Icon mt="1" /> <Text fontSize="md" color="coolGray.800"> {status.title} </Text> </HStack> <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </s> remove <VStack space={3} alignItems="flex-start"> <Checkbox value="orange" colorScheme="orange" size="md" icon={<Icon as={<MaterialCommunityIcons name="bullseye" />} />} defaultIsChecked </s> add <Box alignItems="center"> <Stack direction={{ base: 'column', md: 'row' }} space={3} alignItems="flex-start" </s> remove space={2.5} </s> add space={4} </s> remove <VStack space={3} alignItems="flex-start"> <Checkbox value="danger" colorScheme="danger" defaultIsChecked> Danger </Checkbox> <Checkbox value="info" colorScheme="info" defaultIsChecked> Info </Checkbox> <Checkbox value="orange" colorScheme="orange" defaultIsChecked> Orange </Checkbox> <Checkbox value="purple" colorScheme="purple" defaultIsChecked> Purple </Checkbox> </VStack> </s> add <Box alignItems="center"> <Stack direction={{ base: 'column', md: 'row' }} space={3} alignItems="flex-start" > <Checkbox value="danger" colorScheme="danger" defaultIsChecked> Danger </Checkbox> <Checkbox value="info" colorScheme="info" defaultIsChecked> Info </Checkbox> <Checkbox value="orange" colorScheme="orange" defaultIsChecked> Orange </Checkbox> <Checkbox value="purple" colorScheme="purple" defaultIsChecked> Purple </Checkbox> </Stack> </Box> </s> remove <Stack space={[20, 40, 80]} direction={['row', 'column', 'row-reverse']} alignItems="center" > <Heading textAlign="center">HStack</Heading> <Heading textAlign="center">HStack1</Heading> {/* <HStack space={3} alignItems="center"> <Center h="40" w="20" bg="primary.500" rounded="md" shadow={3} /> <Center h="40" w="20" bg="secondary.500" rounded="md" shadow={3} /> <Center h="40" w="20" bg="emerald.500" rounded="md" shadow={3} /> </HStack> */} </Stack> </s> add <HStack space={3} justifyContent="center"> <Center h="40" w="20" bg="primary.300" rounded="md" shadow={3} /> <Center h="40" w="20" bg="primary.500" rounded="md" shadow={3} /> <Center h="40" w="20" bg="primary.700" rounded="md" shadow={3} /> </HStack>
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/variant.tsx
</Center>
<mask> </> <mask> ); <mask> })} <mask> </Stack> <mask> </ScrollView> <mask> ); <mask> } </s> feat: example design changes (#4522) </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> </VStack> </Alert> ); })} </Stack> </s> add </VStack> </Alert> ); })} </Stack> </Center> </s> remove </> </s> add </Center> </s> remove </> </s> add </Center> </s> remove </> </s> add </Box> </s> remove </> </s> add </Center>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Alert/variant.tsx
<HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}>
<mask> import { Avatar, HStack } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <HStack mx={{ base: 'auto', md: '0' }} space={2}> <mask> <Avatar <mask> bg="lightBlue.400" <mask> source={{ <mask> uri: 'https://alpha.nativebase.io/img/native-base-icon.png', <mask> }} </s> feat: example design changes (#4522) </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove uri: 'https://alpha.nativebase.io/img/native-base-icon.png', </s> add uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', </s> remove <HStack space={2}> </s> add <HStack justifyContent="center" space={2}> </s> remove <> <HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}> </s> add <Box alignItems="center"> <HStack space={4} mx={{ base: 'auto', md: '0' }}> </s> remove <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}> </s> add <HStack space={4} mx={{ base: 'auto', md: 0 }}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx
uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80',
<mask> <HStack mx={{ base: 'auto', md: '0' }} space={2}> <mask> <Avatar <mask> bg="lightBlue.400" <mask> source={{ <mask> uri: 'https://alpha.nativebase.io/img/native-base-icon.png', <mask> }} <mask> > <mask> NB <mask> <Avatar.Badge bg="green.500" /> <mask> </Avatar> </s> feat: example design changes (#4522) </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove uri: 'https://alpha.nativebase.io/img/native-base-icon.png', </s> add uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove <> <HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}> </s> add <Box alignItems="center"> <HStack space={4} mx={{ base: 'auto', md: '0' }}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx
uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
<mask> </Avatar> <mask> <Avatar <mask> bg="amber.500" <mask> source={{ <mask> uri: 'https://alpha.nativebase.io/img/native-base-icon.png', <mask> }} <mask> > <mask> NB <mask> <Avatar.Badge bg="green.500" /> <mask> </Avatar> </s> feat: example design changes (#4522) </s> remove uri: 'https://alpha.nativebase.io/img/native-base-icon.png', </s> add uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove RS </s> add JB </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx
import { Avatar, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Avatar } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Avatar.Group size="lg" max={3}> <mask> <Avatar </s> feat: example design changes (#4522) </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove import { Button, useToast } from 'native-base'; </s> add import { Button, useToast, Center } from 'native-base'; </s> remove import { Input } from 'native-base'; </s> add import { Input, Box } from 'native-base'; </s> remove import { TextArea } from 'native-base'; </s> add import { TextArea, Box } from 'native-base'; </s> remove import { Button, Toast } from 'native-base'; </s> add import { Button, Toast, Center } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/AvatarGroup.tsx
<Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center>
<mask> import { Avatar } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Avatar.Group size="lg" max={3}> <mask> <Avatar <mask> bg="green.500" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', <mask> }} <mask> > <mask> SS <mask> </Avatar> <mask> <Avatar <mask> bg="lightBlue.500" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', <mask> }} <mask> > <mask> AK <mask> </Avatar> <mask> <Avatar <mask> bg="indigo.500" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', <mask> }} <mask> > <mask> RS <mask> </Avatar> <mask> <Avatar <mask> bg="amber.600" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', <mask> }} <mask> > <mask> MR <mask> </Avatar> <mask> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> <mask> CB <mask> </Avatar> <mask> <Avatar <mask> bg="blue.600" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', <mask> }} <mask> > <mask> GG <mask> </Avatar> <mask> <Avatar <mask> bg="black.600" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', <mask> }} <mask> > <mask> RS <mask> </Avatar> <mask> <Avatar <mask> bg="blueGray.600" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', <mask> }} <mask> > <mask> MR <mask> </Avatar> <mask> </Avatar.Group> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove RS </s> add JB </s> remove GG </s> add TE </s> remove 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80',
[ "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", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/AvatarGroup.tsx
<HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}>
<mask> import { Avatar, HStack } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <HStack mx={{ base: 'auto', md: '0' }} space={2}> <mask> <Avatar <mask> bg="green.500" <mask> mr="1" <mask> source={{ uri: 'https://bit.ly/broken-link' }} <mask> > </s> feat: example design changes (#4522) </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove <HStack space={2}> </s> add <HStack justifyContent="center" space={2}> </s> remove uri: 'https://alpha.nativebase.io/img/native-base-icon.png', </s> add uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', </s> remove <> <HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}> </s> add <Box alignItems="center"> <HStack space={4} mx={{ base: 'auto', md: '0' }}> </s> remove <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}> </s> add <HStack space={4} mx={{ base: 'auto', md: 0 }}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/Fallback.tsx
import { Avatar, VStack, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Avatar, VStack, Heading, Center } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Center> <mask> <Heading mt={3} mb={8}> </s> feat: example design changes (#4522) </s> remove import { Checkbox, VStack, Center, Heading } from 'native-base'; </s> add import { Checkbox, VStack, Center } from 'native-base'; </s> remove import { Avatar } from 'native-base'; </s> add import { Avatar, Center } from 'native-base'; </s> remove import { Input, Stack, Center, Heading } from 'native-base'; </s> add import { Input, Stack, Center } from 'native-base'; </s> remove import { Center, Heading, Radio } from 'native-base'; </s> add import { Radio, Stack } from 'native-base'; </s> remove import { Box, Progress, Heading, Center } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/size.tsx
<mask> <mask> export const Example = () => { <mask> return ( <mask> <Center> <mask> <Heading mt={3} mb={8}> <mask> Sizes <mask> </Heading> <mask> <VStack space={2} alignItems={{ base: 'center', md: 'flex-start' }}> <mask> <Avatar <mask> bg="green.500" <mask> alignSelf="center" <mask> size="xs" </s> feat: example design changes (#4522) </s> remove import { Avatar, VStack, Heading, Center } from 'native-base'; </s> add import { Avatar, VStack, Center } from 'native-base'; </s> remove import { Input, Stack, Center, Heading } from 'native-base'; </s> add import { Input, Stack, Center } from 'native-base'; </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove <Heading textAlign="center" mb="10"> Sizes </Heading> </s> add </s> remove <Stack mt={3} space={4} w={{ base: '75%', md: '25%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading> </Center> <Input size="xs" placeholder="xs Input" /> <Input size="sm" placeholder="sm Input" /> <Input size="md" placeholder="md Input" /> <Input size="lg" placeholder="lg Input" /> <Input size="xl" placeholder="xl Input" /> <Input size="2xl" placeholder="2xl Input" /> </Stack> </s> add <Center> <Stack mt={3} space={4} w="75%" maxW="300px"> <Input size="xs" placeholder="xs Input" /> <Input size="sm" placeholder="sm Input" /> <Input size="md" placeholder="md Input" /> <Input size="lg" placeholder="lg Input" /> <Input size="xl" placeholder="xl Input" /> <Input size="2xl" placeholder="2xl Input" /> </Stack> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/size.tsx
'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
<mask> alignSelf="center" <mask> size="xs" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', <mask> }} <mask> > <mask> SS <mask> </Avatar> <mask> <Avatar </s> feat: example design changes (#4522) </s> remove SS </s> add AJ </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove SS </s> add AJ </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove 'https://pbs.twimg.com/profile_images/929409889788510208/gRr2f7rZ_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/size.tsx
AJ
<mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', <mask> }} <mask> > <mask> SS <mask> </Avatar> <mask> <Avatar <mask> bg="cyan.500" <mask> alignSelf="center" <mask> size="sm" </s> feat: example design changes (#4522) </s> remove SS </s> add AJ </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove 'https://pbs.twimg.com/profile_images/929409889788510208/gRr2f7rZ_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/size.tsx
'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80',
<mask> alignSelf="center" <mask> size="sm" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/929409889788510208/gRr2f7rZ_400x400.jpg', <mask> }} <mask> > <mask> HS <mask> </Avatar> <mask> <Avatar </s> feat: example design changes (#4522) </s> remove SS </s> add AJ </s> remove 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1601233749202-95d04d5b3c00?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2876&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/size.tsx
'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
<mask> alignSelf="center" <mask> size="md" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', <mask> }} <mask> > <mask> RS <mask> </Avatar> <mask> <Avatar </s> feat: example design changes (#4522) </s> remove 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove RS </s> add JB </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove 'https://pbs.twimg.com/profile_images/929409889788510208/gRr2f7rZ_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/size.tsx
'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80',
<mask> bg="amber.500" <mask> size="lg" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', <mask> }} <mask> > <mask> AK <mask> </Avatar> <mask> <Avatar </s> feat: example design changes (#4522) </s> remove 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove RS </s> add JB </s> remove uri: 'https://alpha.nativebase.io/img/native-base-icon.png', </s> add uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove AK </s> add TS
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/size.tsx
'https://images.unsplash.com/photo-1601233749202-95d04d5b3c00?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2876&q=80',
<mask> alignSelf="center" <mask> size="xl" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', <mask> }} <mask> > <mask> GG <mask> </Avatar> <mask> <Avatar </s> feat: example design changes (#4522) </s> remove 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', </s> remove GG </s> add TE </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/size.tsx
'https://images.unsplash.com/photo-1510771463146-e89e6e86560e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=627&q=80',
<mask> alignSelf="center" <mask> size="2xl" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', <mask> }} <mask> > <mask> RB <mask> </Avatar> <mask> </VStack> </s> feat: example design changes (#4522) </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove 'https://pbs.twimg.com/profile_images/929409889788510208/gRr2f7rZ_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1601233749202-95d04d5b3c00?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2876&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/size.tsx
<HStack justifyContent="center" space={2}>
<mask> import { Avatar, HStack } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <HStack space={2}> <mask> <Avatar <mask> bg="green.500" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> feat: example design changes (#4522) </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove import { Avatar } from 'native-base'; </s> add import { Avatar, Center } from 'native-base'; </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/usage.tsx
'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
<mask> <Avatar <mask> bg="green.500" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', <mask> }} <mask> > <mask> SS <mask> </Avatar> <mask> <Avatar </s> feat: example design changes (#4522) </s> remove SS </s> add AJ </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove SS </s> add AJ </s> remove uri: 'https://alpha.nativebase.io/img/native-base-icon.png', </s> add uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/usage.tsx
AJ
<mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', <mask> }} <mask> > <mask> SS <mask> </Avatar> <mask> <Avatar <mask> bg="cyan.500" <mask> source={{ <mask> uri: </s> feat: example design changes (#4522) </s> remove SS </s> add AJ </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/usage.tsx
'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80',
<mask> <Avatar <mask> bg="cyan.500" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', <mask> }} <mask> > <mask> GG <mask> </Avatar> <mask> <Avatar </s> feat: example design changes (#4522) </s> remove GG </s> add TE </s> remove 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1601233749202-95d04d5b3c00?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2876&q=80', </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove SS </s> add AJ </s> remove 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/usage.tsx
TE
<mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', <mask> }} <mask> > <mask> GG <mask> </Avatar> <mask> <Avatar <mask> bg="indigo.500" <mask> source={{ <mask> uri: </s> feat: example design changes (#4522) </s> remove 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1601233749202-95d04d5b3c00?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2876&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove RS </s> add JB
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/usage.tsx
'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
<mask> <Avatar <mask> bg="indigo.500" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', <mask> }} <mask> > <mask> RS <mask> </Avatar> <mask> <Avatar </s> feat: example design changes (#4522) </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove RS </s> add JB </s> remove 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove GG </s> add TE </s> remove 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/usage.tsx
JB
<mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', <mask> }} <mask> > <mask> RS <mask> </Avatar> <mask> <Avatar <mask> bg="amber.500" <mask> source={{ <mask> uri: </s> feat: example design changes (#4522) </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove uri: 'https://alpha.nativebase.io/img/native-base-icon.png', </s> add uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/usage.tsx
'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80',
<mask> <Avatar <mask> bg="amber.500" <mask> source={{ <mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', <mask> }} <mask> > <mask> AK <mask> </Avatar> <mask> </HStack> </s> feat: example design changes (#4522) </s> remove 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove AK </s> add TS </s> remove RS </s> add JB </s> remove uri: 'https://alpha.nativebase.io/img/native-base-icon.png', </s> add uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/usage.tsx
TS
<mask> uri: <mask> 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', <mask> }} <mask> > <mask> AK <mask> </Avatar> <mask> </HStack> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', </s> remove 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', </s> add 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', </s> remove <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg', }} > SS </Avatar> <Avatar bg="lightBlue.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg', }} > AK </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="amber.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> <Avatar bg="emerald.600" source={{ uri: 'https://bit.ly/code-beast' }}> CB </Avatar> <Avatar bg="blue.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg', }} > GG </Avatar> <Avatar bg="black.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg', }} > RS </Avatar> <Avatar bg="blueGray.600" source={{ uri: 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg', }} > MR </Avatar> </Avatar.Group> </s> add <Center> <Avatar.Group size="lg" max={3}> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> <Avatar bg="green.500" source={{ uri: 'https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > AJ </Avatar> <Avatar bg="cyan.500" source={{ uri: 'https://images.unsplash.com/photo-1603415526960-f7e0328c63b1?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TE </Avatar> <Avatar bg="indigo.500" source={{ uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', }} > JB </Avatar> <Avatar bg="amber.500" source={{ uri: 'https://images.unsplash.com/photo-1607746882042-944635dfe10e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80', }} > TS </Avatar> </Avatar.Group> </Center> </s> remove uri: 'https://alpha.nativebase.io/img/native-base-icon.png', </s> add uri: 'https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80', </s> remove GG </s> add TE
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Avatar/usage.tsx
<HStack space={4} mx={{ base: 'auto', md: 0 }}>
<mask> import { Badge, HStack } from 'native-base'; <mask> <mask> export function Example() { <mask> return ( <mask> <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}> <mask> <Badge colorScheme="success">SUCCESS</Badge> <mask> <Badge colorScheme="danger">DANGER</Badge> <mask> <Badge colorScheme="info">INFO</Badge> <mask> <Badge colorScheme="coolGray">DARK</Badge> <mask> </HStack> </s> feat: example design changes (#4522) </s> remove <> <HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}> </s> add <Box alignItems="center"> <HStack space={4} mx={{ base: 'auto', md: '0' }}> </s> remove <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="999px" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </s> add <Box alignItems="center"> <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="full" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </Box> </s> remove import { Badge, HStack, VStack } from 'native-base'; </s> add import { Badge, HStack, VStack, Box } from 'native-base'; </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Badge/color.tsx
import { Badge, Button, VStack, Box } from 'native-base';
<mask> import React from 'react'; <mask> import { Badge, Button, VStack } from 'native-base'; <mask> <mask> export function Example() { <mask> return ( <mask> <VStack> <mask> <Badge </s> feat: example design changes (#4522) </s> remove import { Badge, HStack, VStack } from 'native-base'; </s> add import { Badge, HStack, VStack, Box } from 'native-base'; </s> remove import { Badge } from 'native-base'; </s> add import { Badge, Box } from 'native-base'; </s> remove <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}> </s> add <HStack space={4} mx={{ base: 'auto', md: 0 }}> </s> remove <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="999px" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </s> add <Box alignItems="center"> <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="full" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </Box> </s> remove import { Button, useToast } from 'native-base'; </s> add import { Button, useToast, Center } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Badge/composition.tsx
<Box alignItems="center"> <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="full" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </Box>
<mask> import { Badge, Button, VStack } from 'native-base'; <mask> <mask> export function Example() { <mask> return ( <mask> <VStack> <mask> <Badge <mask> // bg="red.400" <mask> colorScheme="danger" <mask> rounded="999px" <mask> mb={-4} <mask> mr={-4} <mask> zIndex={1} <mask> variant="solid" <mask> alignSelf="flex-end" <mask> _text={{ fontSize: 12 }} <mask> > <mask> 2 <mask> </Badge> <mask> <Button <mask> mx={{ base: 'auto', md: 0 }} <mask> p="2" <mask> bg="cyan.500" <mask> _text={{ fontSize: 14 }} <mask> > <mask> Notifications <mask> </Button> <mask> </VStack> <mask> ); <mask> } </s> feat: example design changes (#4522) </s> remove <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}> </s> add <HStack space={4} mx={{ base: 'auto', md: 0 }}> </s> remove <> <HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}> </s> add <Box alignItems="center"> <HStack space={4} mx={{ base: 'auto', md: '0' }}> </s> remove <Button.Group colorScheme="blue" mx={{ base: 'auto', md: 0 }} size="sm"> <Button>Save</Button> <Button>Cancel</Button> </s> add <Button.Group isAttached colorScheme="blue" mx={{ base: 'auto', md: 0 }} size="sm" > <Button>Edit</Button> <Button variant="outline">Save</Button> </s> remove import { Badge, Button, VStack } from 'native-base'; </s> add import { Badge, Button, VStack, Box } from 'native-base'; </s> remove import { Badge, HStack, VStack } from 'native-base'; </s> add import { Badge, HStack, VStack, Box } from 'native-base';
[ "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", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Badge/composition.tsx
import { Badge, Box } from 'native-base';
<mask> import React from 'react'; <mask> import { Badge } from 'native-base'; <mask> <mask> export function Example() { <mask> return <Badge>NEW FEATURE</Badge>; <mask> } </s> feat: example design changes (#4522) </s> remove return <Badge>NEW FEATURE</Badge>; </s> add return ( <Box alignItems="center"> <Badge>NEW FEATURE</Badge> </Box> ); </s> remove import { Pressable, Text, Box, HStack, Spacer, Flex } from 'native-base'; </s> add import { Pressable, Text, Box, HStack, Spacer, Flex, Badge } from 'native-base'; </s> remove import { Pressable, Text, Box, HStack, Spacer, Flex } from 'native-base'; </s> add import { Pressable, Text, Box, HStack, Spacer, Flex, Badge } from 'native-base'; </s> remove import { Badge, Button, VStack } from 'native-base'; </s> add import { Badge, Button, VStack, Box } from 'native-base'; </s> remove import { Tooltip, Button } from 'native-base'; </s> add import { Tooltip, Button, Center } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Badge/usage.tsx
return ( <Box alignItems="center"> <Badge>NEW FEATURE</Badge> </Box> );
<mask> import React from 'react'; <mask> import { Badge } from 'native-base'; <mask> <mask> export function Example() { <mask> return <Badge>NEW FEATURE</Badge>; <mask> } </s> feat: example design changes (#4522) </s> remove import { Badge } from 'native-base'; </s> add import { Badge, Box } from 'native-base'; </s> remove import { Pressable, Text, Box, HStack, Spacer, Flex } from 'native-base'; </s> add import { Pressable, Text, Box, HStack, Spacer, Flex, Badge } from 'native-base'; </s> remove import { Pressable, Text, Box, HStack, Spacer, Flex } from 'native-base'; </s> add import { Pressable, Text, Box, HStack, Spacer, Flex, Badge } from 'native-base'; </s> remove import { Badge, Button, VStack } from 'native-base'; </s> add import { Badge, Button, VStack, Box } from 'native-base'; </s> remove import { Tooltip, Button } from 'native-base'; </s> add import { Tooltip, Button, Center } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Badge/usage.tsx
import { Badge, HStack, VStack, Box } from 'native-base';
<mask> //@ts-nocheck <mask> import React from 'react'; <mask> import { Badge, HStack, VStack } from 'native-base'; <mask> <mask> export function Example() { <mask> return ( <mask> <> <mask> <HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}> </s> feat: example design changes (#4522) </s> remove <> <HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}> </s> add <Box alignItems="center"> <HStack space={4} mx={{ base: 'auto', md: '0' }}> </s> remove <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}> </s> add <HStack space={4} mx={{ base: 'auto', md: 0 }}> </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove <Button.Group colorScheme="blue" mx={{ base: 'auto', md: 0 }} size="sm"> <Button>Save</Button> <Button>Cancel</Button> </s> add <Button.Group isAttached colorScheme="blue" mx={{ base: 'auto', md: 0 }} size="sm" > <Button>Edit</Button> <Button variant="outline">Save</Button>
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Badge/variants.tsx
<Box alignItems="center"> <HStack space={4} mx={{ base: 'auto', md: '0' }}>
<mask> import { Badge, HStack, VStack } from 'native-base'; <mask> <mask> export function Example() { <mask> return ( <mask> <> <mask> <HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}> <mask> {['solid', 'outline', 'subtle'].map((key) => ( <mask> <VStack key={key} space={4}> <mask> <Badge variant={key} alignSelf="center"> <mask> DEFAULT <mask> </Badge> </s> feat: example design changes (#4522) </s> remove import { Badge, HStack, VStack } from 'native-base'; </s> add import { Badge, HStack, VStack, Box } from 'native-base'; </s> remove <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}> </s> add <HStack space={4} mx={{ base: 'auto', md: 0 }}> </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove <HStack mx={{ base: 'auto', md: '0' }} space={2}> </s> add <HStack justifyContent="center" mx={{ base: 'auto', md: '0' }} space={2}> </s> remove <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="999px" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </s> add <Box alignItems="center"> <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="full" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </Box>
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Badge/variants.tsx
</Box>
<mask> </Badge> <mask> </VStack> <mask> ))} <mask> </HStack> <mask> </> <mask> ); <mask> } </s> feat: example design changes (#4522) </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> </VStack> </Alert> ); })} </Stack> </s> add </VStack> </Alert> ); })} </Stack> </Center> </s> remove </ScrollView> </s> add </Center> </s> remove <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="999px" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </s> add <Box alignItems="center"> <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="full" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </Box> </s> remove </> </s> add </Center> </s> remove </> </s> add </Center>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Badge/variants.tsx
<Center> <Center bg="primary.400" _text={{ color: 'white', fontWeight: 'bold' }} height={200} width={{ base: 200, lg: 250 }} > This is the Center </Center>
<mask> import React from 'react'; <mask> import { Center } from 'native-base'; <mask> export function Example() { <mask> return ( <mask> <Center <mask> bg="primary.400" <mask> _text={{ color: 'white', fontWeight: 'bold' }} <mask> height={200} <mask> width={{ base: 200, lg: 400 }} <mask> > <mask> This is the Center <mask> </Center> <mask> ); <mask> } </s> feat: example design changes (#4522) </s> remove import { Container, Text, Heading } from 'native-base'; </s> add import { Container, Text, Heading, Center } from 'native-base'; </s> remove import { Tooltip, Button } from 'native-base'; </s> add import { Tooltip, Button, Center } from 'native-base'; </s> remove <Tooltip label="Hey, I'm here!" openDelay={500} bg="indigo.500" _text={{ color: '#fff' }} > <Button>More</Button> </Tooltip> </s> add <Center> <Tooltip label="Click here to read more" openDelay={500} bg="indigo.500" _text={{ color: '#fff' }} > <Button>More</Button> </Tooltip> </Center> </s> remove import { HStack, Stack, Center, Heading } from 'native-base'; </s> add import { HStack, Center } from 'native-base'; </s> remove import { VStack, Center, Heading } from 'native-base'; </s> add import { VStack, Center } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Center/Basic.tsx
<Circle size="40px" bg="secondary.400"> <Icon as={<MaterialIcons name="audiotrack" />} color="white" size={5} />
<mask> import { MaterialIcons } from '@expo/vector-icons'; <mask> export function Example() { <mask> return ( <mask> <HStack space={3}> <mask> <Circle size={98} bg="secondary.400"> <mask> <Icon as={<MaterialIcons name="audiotrack" />} color="white" size={8} /> <mask> </Circle> <mask> <Square size="lg" bg="primary.400"> <mask> <Box _text={{ fontWeight: 'bold', fontSize: 'lg', color: 'white' }}> <mask> 20 <mask> </Box> </s> feat: example design changes (#4522) </s> remove <Square size="lg" bg="primary.400"> </s> add <Square size="40px" bg="primary.400"> </s> remove width="90%" </s> add width="100%" </s> remove <Box mx="5" width="80%"> <Slider defaultValue={70} size="sm" colorScheme="green"> </s> add <Box alignItems="center"> <Slider defaultValue={70} size="sm" colorScheme="green" w="75%" maxW="300" > </s> remove <> </s> add <Box> </s> remove // @ts-ignore <Link _text={{ fontSize: 'xl', _light: { color: 'cyan.500', }, color: 'cyan.300', }} mt={4} href="https://nativebase.io" isUnderlined _hover={{ _text: { </s> add <Box alignItems="center"> {/* @ts-ignore */} <Link _text={{ fontSize: 'xl',
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Center/SquareCircle.tsx
<Square size="40px" bg="primary.400">
<mask> <HStack space={3}> <mask> <Circle size={98} bg="secondary.400"> <mask> <Icon as={<MaterialIcons name="audiotrack" />} color="white" size={8} /> <mask> </Circle> <mask> <Square size="lg" bg="primary.400"> <mask> <Box _text={{ fontWeight: 'bold', fontSize: 'lg', color: 'white' }}> <mask> 20 <mask> </Box> <mask> </Square> <mask> </HStack> </s> feat: example design changes (#4522) </s> remove <Circle size={98} bg="secondary.400"> <Icon as={<MaterialIcons name="audiotrack" />} color="white" size={8} /> </s> add <Circle size="40px" bg="secondary.400"> <Icon as={<MaterialIcons name="audiotrack" />} color="white" size={5} /> </s> remove width="90%" </s> add width="100%" </s> remove as={<MaterialIcons name={show ? 'visibility' : 'visibility-off'} />} </s> add as={<MaterialIcons name="visibility-off" />} </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </s> add <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center> </s> remove <IconButton variant="unstyled" icon={<CloseIcon size="3" color="coolGray.600" />} /> </HStack> <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </s> add <Box pl="6" _text={{ color: 'coolGray.600' }}> We are happy to announce that we are going live on July 28th. Get ready! </Box> </VStack> </Alert> </Center>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Center/SquareCircle.tsx
import { Container, Text, Heading, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Container, Text, Heading } from 'native-base'; <mask> export function Example() { <mask> return ( <mask> <Container> <mask> <Heading> <mask> A component library for the </s> feat: example design changes (#4522) </s> remove <Container> <Heading> A component library for the <Heading color="emerald.500"> React Ecosystem</Heading> </Heading> <Text mt="3" fontWeight="medium"> NativeBase is a simple, modular and accessible component library that gives you building blocks to build you React applications. </Text> </Container> </s> add <Center> <Container> <Heading> A component library for the <Text color="emerald.500"> React Ecosystem</Text> </Heading> <Text mt="3" fontWeight="medium"> NativeBase is a simple, modular and accessible component library that gives you building blocks to build you React applications. </Text> </Container> </Center> </s> remove import { Link, Text } from 'native-base'; </s> add import { Link, Text, Box } from 'native-base'; </s> remove import { Pressable, Text, Box, HStack, Spacer, Flex } from 'native-base'; </s> add import { Pressable, Text, Box, HStack, Spacer, Flex, Badge } from 'native-base'; </s> remove import { HStack, Stack, Center, Heading } from 'native-base'; </s> add import { HStack, Center } from 'native-base'; </s> remove import { Button, Actionsheet, useDisclose, Text, Box } from 'native-base'; </s> add import { Button, Actionsheet, useDisclose, Text, Box, Center, } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Container/usage.tsx
<Center> <Container> <Heading> A component library for the <Text color="emerald.500"> React Ecosystem</Text> </Heading> <Text mt="3" fontWeight="medium"> NativeBase is a simple, modular and accessible component library that gives you building blocks to build you React applications. </Text> </Container> </Center>
<mask> import React from 'react'; <mask> import { Container, Text, Heading } from 'native-base'; <mask> export function Example() { <mask> return ( <mask> <Container> <mask> <Heading> <mask> A component library for the <mask> <Heading color="emerald.500"> React Ecosystem</Heading> <mask> </Heading> <mask> <Text mt="3" fontWeight="medium"> <mask> NativeBase is a simple, modular and accessible component library that <mask> gives you building blocks to build you React applications. <mask> </Text> <mask> </Container> <mask> ); <mask> } </s> feat: example design changes (#4522) </s> remove import { Container, Text, Heading } from 'native-base'; </s> add import { Container, Text, Heading, Center } from 'native-base'; </s> remove <Text mx="16"> NativeBase is a component library that enables devs to build universal design systems. It is built on top of React Native, allowing you to develop apps for Android, iOS and the Web.{' '} <Link href="https://nativebase.io" isExternal _text={{ color: 'blue.400' }} mt={-0.5} _web={{ mb: -2, }} > Read More </Link> </Text> </s> add <Box alignItems="center"> <Text mx="16"> NativeBase is a component library that enables devs to build universal design systems. It is built on top of React Native, allowing you to develop apps for Android, iOS and the Web.{' '} <Link href="https://nativebase.io" isExternal _text={{ color: 'blue.400' }} mt={-0.5} _web={{ mb: -2, }} > Read More </Link> </Text> </Box> </s> remove import { Link, Text } from 'native-base'; </s> add import { Link, Text, Box } from 'native-base'; </s> remove <Spacer /> <Text fontSize="2xs" color="cyan.100"> 1 month ago </s> add <Text mt="2" fontSize="sm" color="coolGray.700"> NativeBase is a component library that enables devs to build universal design systems. </s> remove </HStack> <Heading color="cyan.50" mt="2" fontWeight="medium" fontSize="lg"> NativeBase </Heading> <Text mt="1" fontSize="sm" color="white"> NativeBase is a component library that enables devs to build universal design systems. </Text> <Flex> <Text mt="2" fontSize="xs" fontWeight="medium" color="cyan.400"> Read More </Text> </Flex> </Box> </Link> </s> add <Flex> <Text mt="2" fontSize={12} fontWeight="medium" color="darkBlue.600"> Read More </Text> </Flex> </Box> </Link> </Box>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Container/usage.tsx
<Box alignItems="center"> <Box w="140"> <Heading mx="3" alignItems="center" flexDirection="row"> Chrome </Heading> <Divider my="2" /> <Heading mx="3" alignItems="center" flexDirection="row"> Firefox </Heading> </Box>
<mask> import { Divider, Heading, Box } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="140"> <mask> <Heading mx="3" d="flex" alignItems="center" flexDirection="row"> <mask> Chrome <mask> </Heading> <mask> <Divider my="2" /> <mask> <Heading mx="3" d="flex" alignItems="center" flexDirection="row"> <mask> Firefox <mask> </Heading> <mask> </Box> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <Box w="160"> <Heading mx="auto">Shoes</Heading> <Divider my="2" /> <Flex mx="3" direction="row" justify="space-evenly"> <Heading py="2">Girls</Heading> <Divider orientation="vertical" mx="3" /> <Heading py="2">Boys</Heading> </Flex> </s> add <Box alignItems="center"> <Box w="160"> <Heading mx="auto">Shoes</Heading> <Divider my="2" /> <Flex mx="3" direction="row" justify="space-evenly" h="60"> <Heading py="2">Girls</Heading> <Divider orientation="vertical" mx="3" /> <Heading py="2">Boys</Heading> </Flex> </Box> </s> remove return <Input mx="3" placeholder="Input" w={{ base: '75%', md: '25%' }} />; </s> add return ( <Box alignItems="center"> <Input mx="3" placeholder="Input" w="75%" maxWidth="300px" /> </Box> ); </s> remove <VStack space={1} alignItems="center" mt={3}> <Heading textAlign="center" mb="10"> Sizes </Heading> </s> add <VStack space={1} alignItems="center"> </s> remove import { Heading, Text, VStack } from 'native-base'; </s> add import { Text, VStack } from 'native-base'; </s> remove import { ZStack, Box } from 'native-base'; </s> add import { Center, ZStack, Box } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Divider/Basic.tsx
import { Divider, Flex, Text, Box } from 'native-base';
<mask> import React from 'react'; <mask> import { Divider, Flex, Text } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Flex direction="row" p="4"> <mask> <Text>Simple</Text> </s> feat: example design changes (#4522) </s> remove <Flex direction="row" p="4"> <Text>Simple</Text> <Divider bg="emerald.500" thickness="2" mx="2" orientation="vertical" /> <Text>Easy</Text> <Divider bg="indigo.500" thickness="2" mx="2" orientation="vertical" /> <Text>Beautiful</Text> </Flex> </s> add <Box alignItems="center"> <Flex direction="row" h="58" p="4"> <Text>Simple</Text> <Divider bg="emerald.500" thickness="2" mx="2" orientation="vertical" /> <Text>Easy</Text> <Divider bg="indigo.500" thickness="2" mx="2" orientation="vertical" /> <Text>Beautiful</Text> </Flex> </Box> </s> remove <Box w="160"> <Heading mx="auto">Shoes</Heading> <Divider my="2" /> <Flex mx="3" direction="row" justify="space-evenly"> <Heading py="2">Girls</Heading> <Divider orientation="vertical" mx="3" /> <Heading py="2">Boys</Heading> </Flex> </s> add <Box alignItems="center"> <Box w="160"> <Heading mx="auto">Shoes</Heading> <Divider my="2" /> <Flex mx="3" direction="row" justify="space-evenly" h="60"> <Heading py="2">Girls</Heading> <Divider orientation="vertical" mx="3" /> <Heading py="2">Boys</Heading> </Flex> </Box> </s> remove <Flex h={40} w={20} mt={6}> </s> add <Flex h={40} alignItems="center"> </s> remove import { Link, Text, Box, Flex, HStack, Spacer, Heading } from 'native-base'; </s> add import { Link, Text, Box, Flex, HStack, Spacer, Badge } from 'native-base'; </s> remove import { Link, Text } from 'native-base'; </s> add import { Link, Text, Box } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Divider/Composition.tsx
<Box alignItems="center"> <Flex direction="row" h="58" p="4"> <Text>Simple</Text> <Divider bg="emerald.500" thickness="2" mx="2" orientation="vertical" /> <Text>Easy</Text> <Divider bg="indigo.500" thickness="2" mx="2" orientation="vertical" /> <Text>Beautiful</Text> </Flex> </Box>
<mask> import { Divider, Flex, Text } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Flex direction="row" p="4"> <mask> <Text>Simple</Text> <mask> <Divider bg="emerald.500" thickness="2" mx="2" orientation="vertical" /> <mask> <Text>Easy</Text> <mask> <Divider bg="indigo.500" thickness="2" mx="2" orientation="vertical" /> <mask> <Text>Beautiful</Text> <mask> </Flex> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <Box w="160"> <Heading mx="auto">Shoes</Heading> <Divider my="2" /> <Flex mx="3" direction="row" justify="space-evenly"> <Heading py="2">Girls</Heading> <Divider orientation="vertical" mx="3" /> <Heading py="2">Boys</Heading> </Flex> </s> add <Box alignItems="center"> <Box w="160"> <Heading mx="auto">Shoes</Heading> <Divider my="2" /> <Flex mx="3" direction="row" justify="space-evenly" h="60"> <Heading py="2">Girls</Heading> <Divider orientation="vertical" mx="3" /> <Heading py="2">Boys</Heading> </Flex> </Box> </s> remove import { Divider, Flex, Text } from 'native-base'; </s> add import { Divider, Flex, Text, Box } from 'native-base'; </s> remove <Box w="140"> <Heading mx="3" d="flex" alignItems="center" flexDirection="row"> Chrome </Heading> <Divider my="2" /> <Heading mx="3" d="flex" alignItems="center" flexDirection="row"> Firefox </Heading> </s> add <Box alignItems="center"> <Box w="140"> <Heading mx="3" alignItems="center" flexDirection="row"> Chrome </Heading> <Divider my="2" /> <Heading mx="3" alignItems="center" flexDirection="row"> Firefox </Heading> </Box> </s> remove <Flex h={40} w={20} mt={6}> </s> add <Flex h={40} alignItems="center"> </s> remove <ZStack alignItems="center" justifyContent="center"> <Box bg="primary.500" size="64" rounded="lg" /> <Box bg="secondary.500" size="48" rounded="lg" shadow={8} /> <Box bg="emerald.500" size="32" rounded="lg" shadow={8} /> </ZStack> </s> add <Center h="96"> <ZStack alignItems="center" justifyContent="center"> <Box bg="indigo.700" size="64" rounded="lg" /> <Box bg="indigo.500" size="48" rounded="lg" shadow={8} /> <Box bg="indigo.300" size="32" rounded="lg" shadow={8} /> </ZStack> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Divider/Composition.tsx
<Box alignItems="center"> <Box w="160"> <Heading mx="auto">Shoes</Heading> <Divider my="2" /> <Flex mx="3" direction="row" justify="space-evenly" h="60"> <Heading py="2">Girls</Heading> <Divider orientation="vertical" mx="3" /> <Heading py="2">Boys</Heading> </Flex> </Box>
<mask> import { Divider, Flex, Box, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="160"> <mask> <Heading mx="auto">Shoes</Heading> <mask> <Divider my="2" /> <mask> <Flex mx="3" direction="row" justify="space-evenly"> <mask> <Heading py="2">Girls</Heading> <mask> <Divider orientation="vertical" mx="3" /> <mask> <Heading py="2">Boys</Heading> <mask> </Flex> <mask> </Box> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <Flex direction="row" p="4"> <Text>Simple</Text> <Divider bg="emerald.500" thickness="2" mx="2" orientation="vertical" /> <Text>Easy</Text> <Divider bg="indigo.500" thickness="2" mx="2" orientation="vertical" /> <Text>Beautiful</Text> </Flex> </s> add <Box alignItems="center"> <Flex direction="row" h="58" p="4"> <Text>Simple</Text> <Divider bg="emerald.500" thickness="2" mx="2" orientation="vertical" /> <Text>Easy</Text> <Divider bg="indigo.500" thickness="2" mx="2" orientation="vertical" /> <Text>Beautiful</Text> </Flex> </Box> </s> remove <Box w="140"> <Heading mx="3" d="flex" alignItems="center" flexDirection="row"> Chrome </Heading> <Divider my="2" /> <Heading mx="3" d="flex" alignItems="center" flexDirection="row"> Firefox </Heading> </s> add <Box alignItems="center"> <Box w="140"> <Heading mx="3" alignItems="center" flexDirection="row"> Chrome </Heading> <Divider my="2" /> <Heading mx="3" alignItems="center" flexDirection="row"> Firefox </Heading> </Box> </s> remove import { Divider, Flex, Text } from 'native-base'; </s> add import { Divider, Flex, Text, Box } from 'native-base'; </s> remove return <Input mx="3" placeholder="Input" w={{ base: '75%', md: '25%' }} />; </s> add return ( <Box alignItems="center"> <Input mx="3" placeholder="Input" w="75%" maxWidth="300px" /> </Box> ); </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Flat Progress</Heading> </Center> <Progress rounded="0" value={65} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress rounded="0" value={65} mx="4" /> </Box> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Divider/Orientation.tsx
<KeyboardAwareScrollView style={{ width: '100%' }}>
<mask> <mask> export const Example = () => { <mask> return ( <mask> // eslint-disable-next-line react-native/no-inline-styles <mask> <KeyboardAwareScrollView style={{ width: '90%' }}> <mask> <Stack <mask> space={2.5} <mask> alignSelf="center" <mask> px="4" <mask> safeArea </s> feat: example design changes (#4522) </s> remove </s> add const ref = React.useRef(null); React.useEffect(() => { console.log('ref here', ref.current); // ref.current.setNativeProps({ // backgroundColor: 'red', // }); // ref.current.setNativeProps({ // backgroundColor: 'red', // }); ref.current.focus(); }, []); </s> remove <Heading mt={3} mb={8}> Sizes </Heading> </s> add </s> remove import { Link } from 'native-base'; </s> add import { Link, Box } from 'native-base'; </s> remove import { Input, Stack, Center, Heading } from 'native-base'; </s> add import { Input, Stack, Center } from 'native-base'; </s> remove import { Input, Stack, Center, Heading } from 'native-base'; </s> add import { Input, Stack, Center } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/FormControl/CustomStyle.tsx
<Box alignItems="center"> <Box w="90%" maxWidth="300px"> <FormControl isRequired> <Stack mx="4"> <FormControl.Label>Password</FormControl.Label> <Input type="password" defaultValue="12345" placeholder="password" /> <FormControl.HelperText> Must be atleast 6 characters. </FormControl.HelperText> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />} > Atleast 6 characters are required. </FormControl.ErrorMessage> </Stack> </FormControl> </Box>
<mask> } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w={{ base: '90%', md: '25%' }}> <mask> <FormControl isRequired> <mask> <Stack mx="4"> <mask> <FormControl.Label>Password</FormControl.Label> <mask> <Input type="password" defaultValue="12345" placeholder="password" /> <mask> <FormControl.HelperText> <mask> Must be atleast 6 characters. <mask> </FormControl.HelperText> <mask> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> <mask> Atleast 6 characters are required. <mask> </FormControl.ErrorMessage> <mask> </Stack> <mask> </FormControl> <mask> </Box> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <FormControl isInvalid w={{ base: '75%', md: '25%' }}> <FormControl.Label>Password</FormControl.Label> <Input placeholder="Enter password" /> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> Try different from previous passwords. </FormControl.ErrorMessage> </FormControl> </s> add <Box alignItems="center"> <FormControl isInvalid w="75%" maxW="300px"> <FormControl.Label>Password</FormControl.Label> <Input placeholder="Enter password" /> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> Try different from previous passwords. </FormControl.ErrorMessage> </FormControl> </Box> </s> remove <VStack space={4} mx="10" width="80%"> <FormControl isInvalid> <FormControl.Label>Set your budget</FormControl.Label> <Slider defaultValue={50}> <Slider.Track> <Slider.FilledTrack /> </Slider.Track> <Slider.Thumb /> </Slider> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> Something is wrong. </FormControl.ErrorMessage> </FormControl> </VStack> </s> add <Box alignItems="center"> <VStack space={4} w="75%" maxW="300"> <FormControl isInvalid> <FormControl.Label>Set your budget</FormControl.Label> <Slider defaultValue={50}> <Slider.Track> <Slider.FilledTrack /> </Slider.Track> <Slider.Thumb /> </Slider> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> Something is wrong. </FormControl.ErrorMessage> </FormControl> </VStack> </Box> </s> remove </Container> </s> add </Center> </s> remove import { Input, FormControl, WarningOutlineIcon } from 'native-base'; </s> add import { Input, FormControl, WarningOutlineIcon, Box } from 'native-base'; </s> remove return <Input mx="3" placeholder="Input" w={{ base: '75%', md: '25%' }} />; </s> add return ( <Box alignItems="center"> <Input mx="3" placeholder="Input" w="75%" maxWidth="300px" /> </Box> );
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/FormControl/Usage.tsx
import { IconButton, Icon, Box } from 'native-base';
<mask> import React from 'react'; <mask> import { IconButton, Icon } from 'native-base'; <mask> import { Entypo } from '@expo/vector-icons'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <IconButton </s> feat: example design changes (#4522) </s> remove import { IconButton, Box, Center, Heading, VStack } from 'native-base'; </s> add import { IconButton, Box, Center, VStack } from 'native-base'; </s> remove import { Checkbox, VStack, Icon } from 'native-base'; </s> add import { Checkbox, Stack, Icon, Box } from 'native-base'; </s> remove import { Checkbox, Icon } from 'native-base'; </s> add import { Checkbox, Icon, Box } from 'native-base'; </s> remove <Heading mb="10">Sizes</Heading> </s> add </s> remove import { Button, useToast } from 'native-base'; </s> add import { Button, useToast, Center } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/IconButton/Basic.tsx
<Box alignItems="center"> <IconButton icon={<Icon as={Entypo} name="emoji-happy" />} borderRadius="full" _icon={{ color: 'orange.500', size: 'md', }} _hover={{ bg: 'orange.600:alpha.20', }} _pressed={{ bg: 'orange.600:alpha.20', _icon: { name: 'emoji-flirt', }, _ios: { _icon: { size: '2xl', }, }, }} _ios={{
<mask> import { Entypo } from '@expo/vector-icons'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <IconButton <mask> icon={<Icon as={Entypo} name="emoji-happy" />} <mask> borderRadius="full" <mask> _icon={{ <mask> color: 'orange.500', <mask> size: 'md', <mask> }} <mask> _hover={{ <mask> bg: 'orange.600:alpha.20', <mask> }} <mask> _pressed={{ <mask> bg: 'orange.600:alpha.20', <mask> _icon: { <mask> name: 'emoji-flirt', <mask> }, <mask> _ios: { <mask> _icon: { <mask> size: '2xl', <mask> }, <mask> }, <mask> }} </s> feat: example design changes (#4522) </s> remove }, }} _ios={{ _icon: { size: '2xl', }, }} /> </s> add }} /> </Box> </s> remove <> </s> add <Center> </s> remove // @ts-ignore <Link _text={{ fontSize: 'xl', _light: { color: 'cyan.500', }, color: 'cyan.300', }} mt={4} href="https://nativebase.io" isUnderlined _hover={{ _text: { </s> add <Box alignItems="center"> {/* @ts-ignore */} <Link _text={{ fontSize: 'xl', </s> remove color: 'cyan.600', </s> add color: 'cyan.500', </s> remove color: 'cyan.400', }, }} > Click me to open NativeBase website. </Link> </s> add color: 'cyan.300', }} href="https://nativebase.io" isUnderlined _hover={{ _text: { _light: { color: 'cyan.600', }, color: 'cyan.400', }, }} > Click me to open NativeBase website. </Link> </Box>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/IconButton/Basic.tsx
}} /> </Box>
<mask> _ios: { <mask> _icon: { <mask> size: '2xl', <mask> }, <mask> }, <mask> }} <mask> _ios={{ <mask> _icon: { <mask> size: '2xl', <mask> }, <mask> }} <mask> /> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <IconButton icon={<Icon as={Entypo} name="emoji-happy" />} borderRadius="full" _icon={{ color: 'orange.500', size: 'md', }} _hover={{ bg: 'orange.600:alpha.20', }} _pressed={{ bg: 'orange.600:alpha.20', _icon: { name: 'emoji-flirt', }, _ios: { </s> add <Box alignItems="center"> <IconButton icon={<Icon as={Entypo} name="emoji-happy" />} borderRadius="full" _icon={{ color: 'orange.500', size: 'md', }} _hover={{ bg: 'orange.600:alpha.20', }} _pressed={{ bg: 'orange.600:alpha.20', _icon: { name: 'emoji-flirt', }, _ios: { _icon: { size: '2xl', }, }, }} _ios={{ </s> remove color: 'cyan.400', }, }} > Click me to open NativeBase website. </Link> </s> add color: 'cyan.300', }} href="https://nativebase.io" isUnderlined _hover={{ _text: { _light: { color: 'cyan.600', }, color: 'cyan.400', }, }} > Click me to open NativeBase website. </Link> </Box> </s> remove color: 'cyan.600', </s> add color: 'cyan.500', </s> remove // @ts-ignore <Link _text={{ fontSize: 'xl', _light: { color: 'cyan.500', }, color: 'cyan.300', }} mt={4} href="https://nativebase.io" isUnderlined _hover={{ _text: { </s> add <Box alignItems="center"> {/* @ts-ignore */} <Link _text={{ fontSize: 'xl', </s> remove <Button onPress={() => { toast.show({ render: () => { return ( <Box bg="emerald.500" px="2" py="1" rounded="sm" mb={5}> Hello! Have a nice day </Box> ); }, }); }} > Custom Toast </Button> </s> add <Center> <Button onPress={() => { toast.show({ render: () => { return ( <Box bg="emerald.500" px="2" py="1" rounded="sm" mb={5}> Hello! Have a nice day </Box> ); }, }); }} > Custom Toast </Button> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/IconButton/Basic.tsx
import { IconButton, Box, Center, VStack } from 'native-base';
<mask> import React from 'react'; <mask> import { IconButton, Box, Center, Heading, VStack } from 'native-base'; <mask> import { MaterialIcons } from '@expo/vector-icons'; <mask> export const Example = () => { <mask> return ( <mask> <Center> <mask> <Heading mb="10">Sizes</Heading> </s> feat: example design changes (#4522) </s> remove import { Button, Box, Heading, VStack } from 'native-base'; </s> add import { Button, Box, VStack } from 'native-base'; </s> remove import { IconButton, Icon } from 'native-base'; </s> add import { IconButton, Icon, Box } from 'native-base'; </s> remove <Heading mb="10">Sizes</Heading> </s> add </s> remove import { Slider, Heading, VStack } from 'native-base'; </s> add import { Slider, Box, VStack } from 'native-base'; </s> remove import { Center, Heading, Radio } from 'native-base'; </s> add import { Radio, Stack } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/IconButton/Sizes.tsx
<mask> import { MaterialIcons } from '@expo/vector-icons'; <mask> export const Example = () => { <mask> return ( <mask> <Center> <mask> <Heading mb="10">Sizes</Heading> <mask> <VStack space={4} alignItems="center"> <mask> {['sm', 'md', 'lg'].map((size: any) => ( <mask> <Box> <mask> <IconButton <mask> size={size} </s> feat: example design changes (#4522) </s> remove <Heading mb="10">Sizes</Heading> </s> add </s> remove import { IconButton, Box, Center, Heading, VStack } from 'native-base'; </s> add import { IconButton, Box, Center, VStack } from 'native-base'; </s> remove import { Switch, VStack, Heading } from 'native-base'; </s> add import { Switch, VStack } from 'native-base'; </s> remove const [show, setShow] = React.useState(false); </s> add </s> remove import { Button, Box, Heading, VStack } from 'native-base'; </s> add import { Button, Box, VStack } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/IconButton/Sizes.tsx
import { Button, Modal, FormControl, Input, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Button, Modal, FormControl, Input } from 'native-base'; <mask> import { useState } from 'react'; <mask> <mask> export const Example = () => { <mask> const [showModal, setShowModal] = useState(false); <mask> </s> feat: example design changes (#4522) </s> remove import { Button, Modal } from 'native-base'; </s> add import { Button, Modal, Center } from 'native-base'; </s> remove import { Button, Modal, VStack, HStack, Text, Radio } from 'native-base'; </s> add import { Button, Modal, VStack, HStack, Text, Radio, Center, } from 'native-base'; </s> remove import { Modal, Button, Input, FormControl } from 'native-base'; </s> add import { Modal, Button, Input, FormControl, HStack } from 'native-base'; </s> remove import { Skeleton, Text, Avatar, Box } from 'native-base'; </s> add import { Skeleton, Text, Button, Box, Image, VStack, Center, } from 'native-base'; </s> remove import { Modal, Button, ScrollView, Text, Heading, Center, VStack, } from 'native-base'; </s> add import { Modal, Button, ScrollView, Text, Center, VStack } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/Basic.tsx
<Center>
<mask> export const Example = () => { <mask> const [showModal, setShowModal] = useState(false); <mask> <mask> return ( <mask> <> <mask> <Button onPress={() => setShowModal(true)}>Button</Button> <mask> <Modal isOpen={showModal} onClose={() => setShowModal(false)}> <mask> <Modal.Content maxWidth="400px"> <mask> <Modal.CloseButton /> <mask> <Modal.Header>Contact Us</Modal.Header> </s> feat: example design changes (#4522) </s> remove <> </s> add <Center> </s> remove <> </s> add <Center> </s> remove <> <Button onPress={() => console.log('hello world')}>Primary</Button> </> </s> add <Box alignItems="center"> <Button onPress={() => console.log('hello world')}>Click Me</Button> </Box> </s> remove import { Button, Modal } from 'native-base'; </s> add import { Button, Modal, Center } from 'native-base'; </s> remove import { Button, Modal, VStack, HStack, Text, Radio } from 'native-base'; </s> add import { Button, Modal, VStack, HStack, Text, Radio, Center, } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/Basic.tsx
</Center>
<mask> </Button.Group> <mask> </Modal.Footer> <mask> </Modal.Content> <mask> </Modal> <mask> </> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove </> </s> add </Center> </s> remove </> </s> add </Center> </s> remove <Button onPress={() => { setModalVisible(!modalVisible); }} > Open Modal </Button> <Input w={{ base: '70%', md: '25%' }} mt={4} ref={finalRef} placeholder="Enter the OTP" _light={{ placeholderTextColor: 'blueGray.700' }} _dark={{ placeholderTextColor: 'blueGray.100' }} /> </s> add <HStack space="4" justifyContent="center" alignItems="center"> <Button onPress={() => { setModalVisible(!modalVisible); }} > Open Modal </Button> <Input w="32" ref={finalRef} placeholder="Enter the OTP" _light={{ placeholderTextColor: 'blueGray.700' }} _dark={{ placeholderTextColor: 'blueGray.100' }} /> </HStack> </s> remove <Heading mb="10">Sizes</Heading> <VStack space={2}> </s> add <VStack space={4}> </s> remove </> </s> add </Center>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/Basic.tsx
import { Button, Modal, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Button, Modal } from 'native-base'; <mask> import { useState } from 'react'; <mask> <mask> export const Example = () => { <mask> const [showModal, setShowModal] = useState(false); <mask> </s> feat: example design changes (#4522) </s> remove import { Button, Modal, FormControl, Input } from 'native-base'; </s> add import { Button, Modal, FormControl, Input, Center } from 'native-base'; </s> remove import { Button, Modal, VStack, HStack, Text, Radio } from 'native-base'; </s> add import { Button, Modal, VStack, HStack, Text, Radio, Center, } from 'native-base'; </s> remove import { Skeleton, Text, Avatar, Box } from 'native-base'; </s> add import { Skeleton, Text, Button, Box, Image, VStack, Center, } from 'native-base'; </s> remove import { TextArea } from 'native-base'; </s> add import { TextArea, Box } from 'native-base'; </s> remove import { Button } from 'native-base'; </s> add import { Button, Box } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/CustomBackdrop.tsx
<Center>
<mask> export const Example = () => { <mask> const [showModal, setShowModal] = useState(false); <mask> <mask> return ( <mask> <> <mask> <Button onPress={() => setShowModal(true)}>Button</Button> <mask> <Modal <mask> isOpen={showModal} <mask> onClose={() => setShowModal(false)} <mask> _backdrop={{ _dark: { bg: 'coolGray.800' }, bg: 'warmGray.50' }} </s> feat: example design changes (#4522) </s> remove <> </s> add <Center> </s> remove <> </s> add <Center> </s> remove <IconButton icon={<Icon as={Entypo} name="emoji-happy" />} borderRadius="full" _icon={{ color: 'orange.500', size: 'md', }} _hover={{ bg: 'orange.600:alpha.20', }} _pressed={{ bg: 'orange.600:alpha.20', _icon: { name: 'emoji-flirt', }, _ios: { </s> add <Box alignItems="center"> <IconButton icon={<Icon as={Entypo} name="emoji-happy" />} borderRadius="full" _icon={{ color: 'orange.500', size: 'md', }} _hover={{ bg: 'orange.600:alpha.20', }} _pressed={{ bg: 'orange.600:alpha.20', _icon: { name: 'emoji-flirt', }, _ios: { _icon: { size: '2xl', }, }, }} _ios={{ </s> remove import { Button, Modal } from 'native-base'; </s> add import { Button, Modal, Center } from 'native-base'; </s> remove <> <Button onPress={() => console.log('hello world')}>Primary</Button> </> </s> add <Box alignItems="center"> <Button onPress={() => console.log('hello world')}>Click Me</Button> </Box>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/CustomBackdrop.tsx
</Center>
<mask> </Button.Group> <mask> </Modal.Footer> <mask> </Modal.Content> <mask> </Modal> <mask> </> <mask> ); <mask> }; </s> feat: example design changes (#4522)
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/CustomBackdrop.tsx
import { Modal, Button, Input, FormControl, HStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Modal, Button, Input, FormControl } from 'native-base'; <mask> <mask> export function Example() { <mask> const [modalVisible, setModalVisible] = React.useState(false); <mask> const initialRef = React.useRef(null); <mask> const finalRef = React.useRef(null); </s> feat: example design changes (#4522) </s> remove import { Modal, Button, ScrollView, Text, Heading, Center, VStack, } from 'native-base'; </s> add import { Modal, Button, ScrollView, Text, Center, VStack } from 'native-base'; </s> remove import { Input, Button } from 'native-base'; </s> add import { Input, Button, Box } from 'native-base'; </s> remove import { Button, Modal, FormControl, Input } from 'native-base'; </s> add import { Button, Modal, FormControl, Input, Center } from 'native-base'; </s> remove import { Button, Modal, VStack, HStack, Text, Radio } from 'native-base'; </s> add import { Button, Modal, VStack, HStack, Text, Radio, Center, } from 'native-base'; </s> remove import { Button, Modal } from 'native-base'; </s> add import { Button, Modal, Center } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/ModalRefEg.tsx
<HStack space="4" justifyContent="center" alignItems="center"> <Button onPress={() => { setModalVisible(!modalVisible); }} > Open Modal </Button> <Input w="32" ref={finalRef} placeholder="Enter the OTP" _light={{ placeholderTextColor: 'blueGray.700' }} _dark={{ placeholderTextColor: 'blueGray.100' }} /> </HStack>
<mask> </Button.Group> <mask> </Modal.Footer> <mask> </Modal.Content> <mask> </Modal> <mask> <Button <mask> onPress={() => { <mask> setModalVisible(!modalVisible); <mask> }} <mask> > <mask> Open Modal <mask> </Button> <mask> <Input <mask> w={{ base: '70%', md: '25%' }} <mask> mt={4} <mask> ref={finalRef} <mask> placeholder="Enter the OTP" <mask> _light={{ placeholderTextColor: 'blueGray.700' }} <mask> _dark={{ placeholderTextColor: 'blueGray.100' }} <mask> /> <mask> </> <mask> ); <mask> } </s> feat: example design changes (#4522) </s> remove </> </s> add </Center> </s> remove </> </s> add </Center> </s> remove </> </s> add </Center> </s> remove <Stack space={2.5} w={{ base: '70%', md: '25%' }}> <Box w="100%"> <Text mb="4" bold fontSize="lg"> Invalid TextArea </Text> <TextArea aria-label="t1" numberOfLines={4} placeholder="Invalid TextArea" isInvalid _dark={{ placeholderTextColor: 'gray.300' }} mb="5" /> <Divider /> </Box> <Box> <Text bold fontSize="lg" mb="4"> Disabled TextArea </Text> </s> add <Box alignItems="center"> <Stack space={2.5} w="75%" maxW="300"> <Box> <Text mb="4" bold fontSize="lg"> Invalid TextArea </Text> <TextArea aria-label="t1" numberOfLines={4} placeholder="Invalid TextArea" isInvalid _dark={{ placeholderTextColor: 'gray.300' }} mb="5" /> <Divider /> </Box> <Box> <Text bold fontSize="lg" mb="4"> Disabled TextArea </Text> </s> remove <TextArea value={textAreaValue} onChange={demoValueControlledTextArea} w={{ base: '70%', md: '25%' }} /> </s> add <Box alignItems="center"> <TextArea value={textAreaValue} onChange={demoValueControlledTextArea} w="75%" maxW="300" /> </Box>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/ModalRefEg.tsx
import { Button, Modal, VStack, HStack, Text, Radio, Center, } from 'native-base';
<mask> import React from 'react'; <mask> import { Button, Modal, VStack, HStack, Text, Radio } from 'native-base'; <mask> import { useState } from 'react'; <mask> <mask> export const Example = () => { <mask> const [showModal, setShowModal] = useState(false); <mask> const [showModal2, setShowModal2] = useState(false); </s> feat: example design changes (#4522) </s> remove import { Button, Modal } from 'native-base'; </s> add import { Button, Modal, Center } from 'native-base'; </s> remove import { Button, Modal, FormControl, Input } from 'native-base'; </s> add import { Button, Modal, FormControl, Input, Center } from 'native-base'; </s> remove import { Skeleton, Text, Avatar, Box } from 'native-base'; </s> add import { Skeleton, Text, Button, Box, Image, VStack, Center, } from 'native-base'; </s> remove import { Modal, Button, ScrollView, Text, Heading, Center, VStack, } from 'native-base'; </s> add import { Modal, Button, ScrollView, Text, Center, VStack } from 'native-base'; </s> remove import { Modal, Button, Input, FormControl } from 'native-base'; </s> add import { Modal, Button, Input, FormControl, HStack } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/MultipleModal.tsx
<Center>
<mask> const [showModal2, setShowModal2] = useState(false); <mask> const [showModal3, setShowModal3] = useState(false); <mask> <mask> return ( <mask> <> <mask> <Button onPress={() => setShowModal(true)}>Button</Button> <mask> <Modal isOpen={showModal} onClose={() => setShowModal(false)} size="lg"> <mask> <Modal.Content maxWidth="350"> <mask> <Modal.CloseButton /> <mask> <Modal.Header>Order</Modal.Header> </s> feat: example design changes (#4522) </s> remove <> </s> add <Center> </s> remove <> </s> add <Center> </s> remove import { Button, Modal, VStack, HStack, Text, Radio } from 'native-base'; </s> add import { Button, Modal, VStack, HStack, Text, Radio, Center, } from 'native-base'; </s> remove <> <Button onPress={() => console.log('hello world')}>Primary</Button> </> </s> add <Box alignItems="center"> <Button onPress={() => console.log('hello world')}>Click Me</Button> </Box> </s> remove import { Button } from 'native-base'; </s> add import { Button, Box } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/MultipleModal.tsx
</Center>
<mask> </Button> <mask> </Modal.Footer> <mask> </Modal.Content> <mask> </Modal> <mask> </> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove </> </s> add </Center> </s> remove </> </s> add </Center> </s> remove <Button onPress={() => { setModalVisible(!modalVisible); }} > Open Modal </Button> <Input w={{ base: '70%', md: '25%' }} mt={4} ref={finalRef} placeholder="Enter the OTP" _light={{ placeholderTextColor: 'blueGray.700' }} _dark={{ placeholderTextColor: 'blueGray.100' }} /> </s> add <HStack space="4" justifyContent="center" alignItems="center"> <Button onPress={() => { setModalVisible(!modalVisible); }} > Open Modal </Button> <Input w="32" ref={finalRef} placeholder="Enter the OTP" _light={{ placeholderTextColor: 'blueGray.700' }} _dark={{ placeholderTextColor: 'blueGray.100' }} /> </HStack> </s> remove <Heading mb="10">Sizes</Heading> <VStack space={2}> </s> add <VStack space={4}> </s> remove </> </s> add </Center>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/MultipleModal.tsx
import { Modal, Button, ScrollView, Text, Center, VStack } from 'native-base';
<mask> // @ts-nocheck <mask> import React from 'react'; <mask> import { <mask> Modal, <mask> Button, <mask> ScrollView, <mask> Text, <mask> Heading, <mask> Center, <mask> VStack, <mask> } from 'native-base'; <mask> <mask> export function Example() { <mask> const [modalVisible, setModalVisible] = React.useState(false); <mask> const [size, setSize] = React.useState('md'); <mask> </s> feat: example design changes (#4522) </s> remove import { Modal, Button, Input, FormControl } from 'native-base'; </s> add import { Modal, Button, Input, FormControl, HStack } from 'native-base'; </s> remove import { Button, Modal, VStack, HStack, Text, Radio } from 'native-base'; </s> add import { Button, Modal, VStack, HStack, Text, Radio, Center, } from 'native-base'; </s> remove ScrollView, </s> add Center, </s> remove import { Button, Actionsheet, useDisclose, Text, Box } from 'native-base'; </s> add import { Button, Actionsheet, useDisclose, Text, Box, Center, } from 'native-base'; </s> remove import { Button, Modal, FormControl, Input } from 'native-base'; </s> add import { Button, Modal, FormControl, Input, Center } from 'native-base';
[ "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/Size.tsx
<VStack space={4}>
<mask> </Modal.Footer> <mask> </Modal.Content> <mask> </Modal> <mask> <Center> <mask> <Heading mb="10">Sizes</Heading> <mask> <VStack space={2}> <mask> {['xs', 'sm', 'md', 'lg', 'xl', 'full'].map((size) => { <mask> return ( <mask> <Button <mask> onPress={() => handleSizeClick(size)} <mask> key={size} </s> feat: example design changes (#4522) </s> remove <Heading mb="10">Sizes</Heading> </s> add </s> remove <Heading mb="10">Sizes</Heading> </s> add </s> remove <VStack space={2}> <Button onPress={() => toast.show({ title: 'Hello world', placement: 'bottom', }) } > Bottom </Button> </s> add <Center> <VStack space={2}> <Button onPress={() => toast.show({ title: 'Hello world', placement: 'bottom', }) } > Bottom </Button> </s> remove <VStack space={2}> <Button onPress={() => toast.show({ title: 'Account verified', status: 'success', description: 'Thanks for signing up with us.', }) } > Success </Button> </s> add <Center> <VStack space={2}> <Button colorScheme="success" onPress={() => toast.show({ title: 'Account verified', status: 'success', description: 'Thanks for signing up with us.', }) } > Success </Button> </s> remove </> </s> add </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Modal/Size.tsx
placement={position === 'auto' ? undefined : position}
<mask> <Box w="100%" alignItems="center"> <mask> <VStack space={6} alignSelf="flex-start" w="100%"> <mask> <Popover <mask> // @ts-ignore <mask> placement={position == 'auto' ? undefined : position} <mask> trigger={(triggerProps) => { <mask> return ( <mask> <Button colorScheme="danger" alignSelf="center" {...triggerProps}> <mask> Delete Customer <mask> </Button> </s> feat: example design changes (#4522) </s> remove <Input type={show ? 'text' : 'password'} w={{ base: '75%', md: '25%' }} InputRightElement={ <Button size="xs" rounded="none" w="1/6" h="full" onPress={handleClick}> {show ? 'Hide' : 'Show'} </Button> } placeholder="Password" /> </s> add <Box alignItems="center"> <Input type={show ? 'text' : 'password'} w="75%" maxW="300px" py="0" InputRightElement={ <Button size="xs" rounded="none" w="1/6" h="full" onPress={handleClick} > {show ? 'Hide' : 'Show'} </Button> } placeholder="Password" /> </Box> </s> remove <Box w="100%"> </s> add <Box w="100%" alignItems="center"> </s> remove <Pressable> {({ isHovered, isFocused, isPressed }) => { return ( <Box bg={isPressed ? 'cyan.900' : isHovered ? 'cyan.800' : 'cyan.700'} p="5" rounded="8" style={{ transform: [{ scale: isPressed ? 0.96 : 1 }] }} > <HStack alignItems="flex-start"> <Text fontSize={12} color="cyan.50" fontWeight="medium"> Business </Text> <Spacer /> <Text fontSize={10} color="cyan.100"> 1 month ago </Text> </HStack> <Text color="cyan.50" mt="3" fontWeight="medium" fontSize={20}> Marketing License </Text> <Text mt="2" fontSize={14} color="cyan.100"> Unlock powerfull time-saving tools for creating email delivery and collecting marketing data </Text> <Flex> {isFocused ? ( <Text mt="2" fontSize={12} fontWeight="medium" bg="cyan.500" color="cyan.200" alignSelf="flex-start" </s> add <Box alignItems="center"> <Pressable> {({ isHovered, isFocused, isPressed }) => { return ( <Box maxW="96" borderWidth="1" borderColor="coolGray.300" shadow="3" bg={ isPressed ? 'coolGray.200' : isHovered ? 'coolGray.200' : 'coolGray.100' } p="5" rounded="8" style={{ transform: [ { scale: isPressed ? 0.96 : 1, }, ], }} > <HStack alignItems="center"> <Badge colorScheme="darkBlue" _text={{ color: 'white' }} variant="solid" rounded="4" </s> remove <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="999px" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </s> add <Box alignItems="center"> <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="full" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </Box> </s> remove <> </s> add <Box alignItems="center">
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Popover/PopoverPositions.tsx
<Input rounded="sm" fontSize="xs" ref={initialFocusRef} />
<mask> }} <mask> > <mask> First Name <mask> </FormControl.Label> <mask> <Input <mask> rounded="sm" <mask> fontSize="xs" <mask> backgroundColor="white" <mask> ref={initialFocusRef} <mask> /> <mask> </FormControl> <mask> <FormControl mt="3"> <mask> <FormControl.Label <mask> _text={{ <mask> fontSize: 'xs', </s> feat: example design changes (#4522) </s> remove <Input rounded="sm" fontSize="xs" backgroundColor="white" /> </s> add <Input rounded="sm" fontSize="xs" /> </s> remove <Container> <FormControl isInvalid> <FormControl.Label _text={{ fontSize: 'lg', bold: true }}> Preferred contact method </FormControl.Label> <Text fontSize="md">Selected Values: </Text> <Checkbox.Group mt="2" colorScheme="green" defaultValue={groupValue} accessibilityLabel="choose multiple items" onChange={(values) => { setGroupValue(values || []); }} alignItems="flex-start" > <Checkbox value="Phone" my="1"> Phone </Checkbox> <Checkbox value="Email" my="1"> Email </Checkbox> <Checkbox value="Message" my="1"> Message </Checkbox> <Checkbox value="Fax" my="1"> Fax </Checkbox> </Checkbox.Group> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> You must select at least three methods </FormControl.ErrorMessage> </FormControl> </Container> </s> add <Box alignItems="center"> <Container> <FormControl isInvalid> <FormControl.Label _text={{ fontSize: 'lg', bold: true }}> Preferred contact method </FormControl.Label> <Text fontSize="md">Selected Values: </Text> <Checkbox.Group mt="2" colorScheme="green" defaultValue={groupValue} accessibilityLabel="choose multiple items" onChange={(values) => { setGroupValue(values || []); }} alignItems="flex-start" > <Checkbox value="Phone" my="1"> Phone </Checkbox> <Checkbox value="Email" my="1"> Email </Checkbox> <Checkbox value="Message" my="1"> Message </Checkbox> <Checkbox value="Fax" my="1"> Fax </Checkbox> </Checkbox.Group> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> You must select at least three methods </FormControl.ErrorMessage> </FormControl> </Container> </Box> </s> remove <FormControl isInvalid w={{ base: '75%', md: '25%' }}> <FormControl.Label>Password</FormControl.Label> <Input placeholder="Enter password" /> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> Try different from previous passwords. </FormControl.ErrorMessage> </FormControl> </s> add <Box alignItems="center"> <FormControl isInvalid w="75%" maxW="300px"> <FormControl.Label>Password</FormControl.Label> <Input placeholder="Enter password" /> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> Try different from previous passwords. </FormControl.ErrorMessage> </FormControl> </Box> </s> remove <Box w={{ base: '90%', md: '25%' }}> <FormControl isRequired> <Stack mx="4"> <FormControl.Label>Password</FormControl.Label> <Input type="password" defaultValue="12345" placeholder="password" /> <FormControl.HelperText> Must be atleast 6 characters. </FormControl.HelperText> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> Atleast 6 characters are required. </FormControl.ErrorMessage> </Stack> </FormControl> </s> add <Box alignItems="center"> <Box w="90%" maxWidth="300px"> <FormControl isRequired> <Stack mx="4"> <FormControl.Label>Password</FormControl.Label> <Input type="password" defaultValue="12345" placeholder="password" /> <FormControl.HelperText> Must be atleast 6 characters. </FormControl.HelperText> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />} > Atleast 6 characters are required. </FormControl.ErrorMessage> </Stack> </FormControl> </Box> </s> remove <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="999px" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </s> add <Box alignItems="center"> <VStack> <Badge // bg="red.400" colorScheme="danger" rounded="full" mb={-4} mr={-4} zIndex={1} variant="solid" alignSelf="flex-end" _text={{ fontSize: 12 }} > 2 </Badge> <Button mx={{ base: 'auto', md: 0 }} p="2" bg="cyan.500" _text={{ fontSize: 14 }} > Notifications </Button> </VStack> </Box>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Popover/RefEg.tsx
<Input rounded="sm" fontSize="xs" />
<mask> }} <mask> > <mask> Last Name <mask> </FormControl.Label> <mask> <Input rounded="sm" fontSize="xs" backgroundColor="white" /> <mask> </FormControl> <mask> </Popover.Body> <mask> <Popover.Footer> <mask> <Button.Group> <mask> <Button colorScheme="coolGray" variant="ghost"> </s> feat: example design changes (#4522) </s> remove <Input rounded="sm" fontSize="xs" backgroundColor="white" ref={initialFocusRef} /> </s> add <Input rounded="sm" fontSize="xs" ref={initialFocusRef} /> </s> remove <Button onPress={() => { setModalVisible(!modalVisible); }} > Open Modal </Button> <Input w={{ base: '70%', md: '25%' }} mt={4} ref={finalRef} placeholder="Enter the OTP" _light={{ placeholderTextColor: 'blueGray.700' }} _dark={{ placeholderTextColor: 'blueGray.100' }} /> </s> add <HStack space="4" justifyContent="center" alignItems="center"> <Button onPress={() => { setModalVisible(!modalVisible); }} > Open Modal </Button> <Input w="32" ref={finalRef} placeholder="Enter the OTP" _light={{ placeholderTextColor: 'blueGray.700' }} _dark={{ placeholderTextColor: 'blueGray.100' }} /> </HStack> </s> remove <FormControl isInvalid w={{ base: '75%', md: '25%' }}> <FormControl.Label>Password</FormControl.Label> <Input placeholder="Enter password" /> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> Try different from previous passwords. </FormControl.ErrorMessage> </FormControl> </s> add <Box alignItems="center"> <FormControl isInvalid w="75%" maxW="300px"> <FormControl.Label>Password</FormControl.Label> <Input placeholder="Enter password" /> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> Try different from previous passwords. </FormControl.ErrorMessage> </FormControl> </Box> </s> remove <Box w={{ base: '90%', md: '25%' }}> <FormControl isRequired> <Stack mx="4"> <FormControl.Label>Password</FormControl.Label> <Input type="password" defaultValue="12345" placeholder="password" /> <FormControl.HelperText> Must be atleast 6 characters. </FormControl.HelperText> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> Atleast 6 characters are required. </FormControl.ErrorMessage> </Stack> </FormControl> </s> add <Box alignItems="center"> <Box w="90%" maxWidth="300px"> <FormControl isRequired> <Stack mx="4"> <FormControl.Label>Password</FormControl.Label> <Input type="password" defaultValue="12345" placeholder="password" /> <FormControl.HelperText> Must be atleast 6 characters. </FormControl.HelperText> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />} > Atleast 6 characters are required. </FormControl.ErrorMessage> </Stack> </FormControl> </Box> </s> remove <Input type={show ? 'text' : 'password'} w={{ base: '75%', md: '25%' }} InputRightElement={ <Button size="xs" rounded="none" w="1/6" h="full" onPress={handleClick}> {show ? 'Hide' : 'Show'} </Button> } placeholder="Password" /> </s> add <Box alignItems="center"> <Input type={show ? 'text' : 'password'} w="75%" maxW="300px" py="0" InputRightElement={ <Button size="xs" rounded="none" w="1/6" h="full" onPress={handleClick} > {show ? 'Hide' : 'Show'} </Button> } placeholder="Password" /> </Box>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Popover/RefEg.tsx
import { Box, Progress, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Box, Progress, Heading, Center } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <Center mb="10"> </s> feat: example design changes (#4522) </s> remove import { Box, Progress, Center, Heading } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove import { Box, Progress, Center, Heading } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove import { Box, Progress, VStack, Heading } from 'native-base'; </s> add import { Box, Progress, VStack, Center } from 'native-base'; </s> remove import { Box, Progress, VStack, Heading } from 'native-base'; </s> add import { Box, Progress, VStack, Center } from 'native-base'; </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md"> Simple Progress Bar</Heading> </Center> <Progress value={45} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress value={45} mx="4" /> </Box> </Center>
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/Basic.tsx
<Center> <Box w="90%" maxW="400"> <Progress value={45} mx="4" /> </Box> </Center>
<mask> import { Box, Progress, Heading, Center } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <Center mb="10"> <mask> <Heading size="md"> Simple Progress Bar</Heading> <mask> </Center> <mask> <Progress value={45} mx="4" /> <mask> </Box> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Flat Progress</Heading> </Center> <Progress rounded="0" value={65} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress rounded="0" value={65} mx="4" /> </Box> </Center> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Custom Track Color</Heading> </Center> <Progress colorScheme="primary" bg="cyan.200" mb="4" value={75} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress colorScheme="primary" bg="coolGray.300" value={75} mx="4" /> </Box> </Center> </s> remove <Box w="90%"> <VStack space="md"> <Heading textAlign="center" mb="10" size="md"> Progress Color Scheme </Heading> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </s> add <Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </VStack> </s> remove import { Box, Progress, Heading, Center } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove <Box w="90%"> <VStack space="md"> <Heading textAlign="center" size="md" mb="10"> Progress Sizes </Heading> <VStack mx="4" space="md"> <Progress size="xs" mb={4} value={25} /> <Progress size="sm" mb={4} value={35} /> <Progress size="md" mb={4} value={45} /> <Progress size="lg" mb={4} value={55} /> <Progress size="xl" mb={4} value={65} /> <Progress size="2xl" mb={4} value={75} /> </s> add <Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress size="xs" mb={4} value={25} /> <Progress size="sm" mb={4} value={35} /> <Progress size="md" mb={4} value={45} /> <Progress size="lg" mb={4} value={55} /> <Progress size="xl" mb={4} value={65} /> <Progress size="2xl" mb={4} value={75} /> </VStack>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/Basic.tsx
import { Box, Progress, VStack, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Box, Progress, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <VStack space="md"> </s> feat: example design changes (#4522) </s> remove import { Box, Progress, VStack, Heading } from 'native-base'; </s> add import { Box, Progress, VStack, Center } from 'native-base'; </s> remove import { Box, Progress, Center, Heading } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove import { Box, Progress, Center, Heading } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove import { Box, Progress, Heading, Center } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove <Box w="90%"> <VStack space="md"> <Heading textAlign="center" mb="10" size="md"> Progress Color Scheme </Heading> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </s> add <Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </VStack>
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/ColorScheme.tsx
<Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </VStack>
<mask> import { Box, Progress, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <VStack space="md"> <mask> <Heading textAlign="center" mb="10" size="md"> <mask> Progress Color Scheme <mask> </Heading> <mask> <VStack mx="4" space="md"> <mask> <Progress colorScheme="primary" value={35} /> <mask> <Progress colorScheme="secondary" value={45} /> <mask> <Progress colorScheme="emerald" value={55} /> <mask> <Progress colorScheme="warning" value={65} /> <mask> <Progress colorScheme="light" value={75} /> <mask> </VStack> <mask> </VStack> <mask> </Box> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <Box w="90%"> <VStack space="md"> <Heading textAlign="center" size="md" mb="10"> Progress Sizes </Heading> <VStack mx="4" space="md"> <Progress size="xs" mb={4} value={25} /> <Progress size="sm" mb={4} value={35} /> <Progress size="md" mb={4} value={45} /> <Progress size="lg" mb={4} value={55} /> <Progress size="xl" mb={4} value={65} /> <Progress size="2xl" mb={4} value={75} /> </s> add <Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress size="xs" mb={4} value={25} /> <Progress size="sm" mb={4} value={35} /> <Progress size="md" mb={4} value={45} /> <Progress size="lg" mb={4} value={55} /> <Progress size="xl" mb={4} value={65} /> <Progress size="2xl" mb={4} value={75} /> </VStack> </s> remove </VStack> </Box> </s> add </Box> </Center> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md"> Simple Progress Bar</Heading> </Center> <Progress value={45} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress value={45} mx="4" /> </Box> </Center> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Custom Track Color</Heading> </Center> <Progress colorScheme="primary" bg="cyan.200" mb="4" value={75} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress colorScheme="primary" bg="coolGray.300" value={75} mx="4" /> </Box> </Center> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Flat Progress</Heading> </Center> <Progress rounded="0" value={65} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress rounded="0" value={65} mx="4" /> </Box> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/ColorScheme.tsx
</Box> </Center>
<mask> <Progress colorScheme="emerald" value={55} /> <mask> <Progress colorScheme="warning" value={65} /> <mask> <Progress colorScheme="light" value={75} /> <mask> </VStack> <mask> </VStack> <mask> </Box> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <Box w="90%"> <VStack space="md"> <Heading textAlign="center" mb="10" size="md"> Progress Color Scheme </Heading> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </s> add <Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </VStack> </s> remove </VStack> </Box> </s> add </Box> </Center> </s> remove <Box w="90%"> <VStack space="md"> <Heading textAlign="center" size="md" mb="10"> Progress Sizes </Heading> <VStack mx="4" space="md"> <Progress size="xs" mb={4} value={25} /> <Progress size="sm" mb={4} value={35} /> <Progress size="md" mb={4} value={45} /> <Progress size="lg" mb={4} value={55} /> <Progress size="xl" mb={4} value={65} /> <Progress size="2xl" mb={4} value={75} /> </s> add <Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress size="xs" mb={4} value={25} /> <Progress size="sm" mb={4} value={35} /> <Progress size="md" mb={4} value={45} /> <Progress size="lg" mb={4} value={55} /> <Progress size="xl" mb={4} value={65} /> <Progress size="2xl" mb={4} value={75} /> </VStack> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Flat Progress</Heading> </Center> <Progress rounded="0" value={65} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress rounded="0" value={65} mx="4" /> </Box> </Center> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Custom Track Color</Heading> </Center> <Progress colorScheme="primary" bg="cyan.200" mb="4" value={75} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress colorScheme="primary" bg="coolGray.300" value={75} mx="4" /> </Box> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/ColorScheme.tsx
import { Box, Progress, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Box, Progress, Center, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <Center mb="10"> </s> feat: example design changes (#4522) </s> remove import { Box, Progress, Center, Heading } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove import { Box, Progress, Heading, Center } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove import { Box, Progress, VStack, Heading } from 'native-base'; </s> add import { Box, Progress, VStack, Center } from 'native-base'; </s> remove import { Box, Progress, VStack, Heading } from 'native-base'; </s> add import { Box, Progress, VStack, Center } from 'native-base'; </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Flat Progress</Heading> </Center> <Progress rounded="0" value={65} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress rounded="0" value={65} mx="4" /> </Box> </Center>
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/CustomBgColor.tsx
<Center> <Box w="90%" maxW="400"> <Progress colorScheme="primary" bg="coolGray.300" value={75} mx="4" /> </Box> </Center>
<mask> import { Box, Progress, Center, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <Center mb="10"> <mask> <Heading size="md">Custom Track Color</Heading> <mask> </Center> <mask> <Progress colorScheme="primary" bg="cyan.200" mb="4" value={75} mx="4" /> <mask> </Box> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Flat Progress</Heading> </Center> <Progress rounded="0" value={65} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress rounded="0" value={65} mx="4" /> </Box> </Center> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md"> Simple Progress Bar</Heading> </Center> <Progress value={45} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress value={45} mx="4" /> </Box> </Center> </s> remove <Box w="90%"> <VStack space="md"> <Heading textAlign="center" mb="10" size="md"> Progress Color Scheme </Heading> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </s> add <Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </VStack> </s> remove import { Box, Progress, Center, Heading } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove import { Box, Progress, Center, Heading } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/CustomBgColor.tsx
import { Box, Progress, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Box, Progress, Center, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <Center mb="10"> </s> feat: example design changes (#4522)
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/Flat.tsx
<Center> <Box w="90%" maxW="400"> <Progress rounded="0" value={65} mx="4" /> </Box> </Center>
<mask> import { Box, Progress, Center, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <Center mb="10"> <mask> <Heading size="md">Flat Progress</Heading> <mask> </Center> <mask> <Progress rounded="0" value={65} mx="4" /> <mask> </Box> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Custom Track Color</Heading> </Center> <Progress colorScheme="primary" bg="cyan.200" mb="4" value={75} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress colorScheme="primary" bg="coolGray.300" value={75} mx="4" /> </Box> </Center> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md"> Simple Progress Bar</Heading> </Center> <Progress value={45} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress value={45} mx="4" /> </Box> </Center> </s> remove import { Box, Progress, Center, Heading } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove import { Box, Progress, Center, Heading } from 'native-base'; </s> add import { Box, Progress, Center } from 'native-base'; </s> remove <Box w="90%"> <VStack space="md"> <Heading textAlign="center" mb="10" size="md"> Progress Color Scheme </Heading> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </s> add <Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </VStack>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/Flat.tsx
import { Box, Progress, VStack, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Box, Progress, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <VStack space="md"> </s> feat: example design changes (#4522)
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/Sizes.tsx
<Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress size="xs" mb={4} value={25} /> <Progress size="sm" mb={4} value={35} /> <Progress size="md" mb={4} value={45} /> <Progress size="lg" mb={4} value={55} /> <Progress size="xl" mb={4} value={65} /> <Progress size="2xl" mb={4} value={75} /> </VStack>
<mask> import { Box, Progress, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <VStack space="md"> <mask> <Heading textAlign="center" size="md" mb="10"> <mask> Progress Sizes <mask> </Heading> <mask> <VStack mx="4" space="md"> <mask> <Progress size="xs" mb={4} value={25} /> <mask> <Progress size="sm" mb={4} value={35} /> <mask> <Progress size="md" mb={4} value={45} /> <mask> <Progress size="lg" mb={4} value={55} /> <mask> <Progress size="xl" mb={4} value={65} /> <mask> <Progress size="2xl" mb={4} value={75} /> <mask> </VStack> <mask> </VStack> <mask> </Box> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove </VStack> </Box> </s> add </Box> </Center> </s> remove <Box w="90%"> <VStack space="md"> <Heading textAlign="center" mb="10" size="md"> Progress Color Scheme </Heading> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </s> add <Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </VStack> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md"> Simple Progress Bar</Heading> </Center> <Progress value={45} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress value={45} mx="4" /> </Box> </Center> </s> remove </VStack> </Box> </s> add </Box> </Center> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Flat Progress</Heading> </Center> <Progress rounded="0" value={65} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress rounded="0" value={65} mx="4" /> </Box> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/Sizes.tsx
</Box> </Center>
<mask> <Progress size="lg" mb={4} value={55} /> <mask> <Progress size="xl" mb={4} value={65} /> <mask> <Progress size="2xl" mb={4} value={75} /> <mask> </VStack> <mask> </VStack> <mask> </Box> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <Box w="90%"> <VStack space="md"> <Heading textAlign="center" size="md" mb="10"> Progress Sizes </Heading> <VStack mx="4" space="md"> <Progress size="xs" mb={4} value={25} /> <Progress size="sm" mb={4} value={35} /> <Progress size="md" mb={4} value={45} /> <Progress size="lg" mb={4} value={55} /> <Progress size="xl" mb={4} value={65} /> <Progress size="2xl" mb={4} value={75} /> </s> add <Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress size="xs" mb={4} value={25} /> <Progress size="sm" mb={4} value={35} /> <Progress size="md" mb={4} value={45} /> <Progress size="lg" mb={4} value={55} /> <Progress size="xl" mb={4} value={65} /> <Progress size="2xl" mb={4} value={75} /> </VStack> </s> remove </VStack> </Box> </s> add </Box> </Center> </s> remove <Box w="90%"> <VStack space="md"> <Heading textAlign="center" mb="10" size="md"> Progress Color Scheme </Heading> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </s> add <Center> <Box w="90%" maxW="400"> <VStack space="md"> <VStack mx="4" space="md"> <Progress colorScheme="primary" value={35} /> <Progress colorScheme="secondary" value={45} /> <Progress colorScheme="emerald" value={55} /> <Progress colorScheme="warning" value={65} /> <Progress colorScheme="light" value={75} /> </VStack> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Flat Progress</Heading> </Center> <Progress rounded="0" value={65} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress rounded="0" value={65} mx="4" /> </Box> </Center> </s> remove <Box w="90%"> <Center mb="10"> <Heading size="md">Custom Track Color</Heading> </Center> <Progress colorScheme="primary" bg="cyan.200" mb="4" value={75} mx="4" /> </Box> </s> add <Center> <Box w="90%" maxW="400"> <Progress colorScheme="primary" bg="coolGray.300" value={75} mx="4" /> </Box> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Progress/Sizes.tsx
import { Skeleton, VStack, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Skeleton, VStack } from 'native-base'; <mask> export const Example = () => { <mask> return ( <mask> <VStack <mask> w="400" <mask> borderWidth="1" </s> feat: example design changes (#4522) </s> remove import { Skeleton, VStack, HStack } from 'native-base'; </s> add import { Skeleton, VStack, HStack, Center } from 'native-base'; </s> remove <VStack w="400" borderWidth="1" space={6} rounded="md" alignItems="center" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton borderWidth={1} </s> add <Center> <VStack w="90%" maxW="400" borderWidth="1" space={6} rounded="md" alignItems="center" </s> remove import { Skeleton, VStack, HStack } from 'native-base'; </s> add import { Skeleton, VStack, HStack, Center } from 'native-base'; </s> remove <VStack w="400" borderWidth="1" space={8} overflow="hidden" rounded="md" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton.Text px="4" /> <Skeleton m="4" rounded="md" startColor="primary.100" /> </VStack> </s> add <Center> <VStack w="90%" maxW="400" borderWidth="1" space={8} overflow="hidden" rounded="md" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton.Text px="4" /> <Skeleton px="4" my="4" rounded="md" startColor="primary.100" /> </VStack> </Center> </s> remove import { Heading, Text, VStack } from 'native-base'; </s> add import { Text, VStack } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Skeleton/Basic.tsx
<Center> <VStack w="90%" maxW="400" borderWidth="1" space={8} overflow="hidden" rounded="md" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton.Text px="4" /> <Skeleton px="4" my="4" rounded="md" startColor="primary.100" /> </VStack> </Center>
<mask> import React from 'react'; <mask> import { Skeleton, VStack } from 'native-base'; <mask> export const Example = () => { <mask> return ( <mask> <VStack <mask> w="400" <mask> borderWidth="1" <mask> space={8} <mask> overflow="hidden" <mask> rounded="md" <mask> borderColor="coolGray.200" <mask> > <mask> <Skeleton h="40" /> <mask> <Skeleton.Text px="4" /> <mask> <Skeleton m="4" rounded="md" startColor="primary.100" /> <mask> </VStack> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <VStack w="400" borderWidth="1" space={6} rounded="md" alignItems="center" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton borderWidth={1} </s> add <Center> <VStack w="90%" maxW="400" borderWidth="1" space={6} rounded="md" alignItems="center" </s> remove <HStack w="80%" borderWidth="1" space={8} rounded="md" borderColor="coolGray.200" p="4" > <Skeleton flex="1" h="100%" rounded="md" /> <VStack flex="3" space="4"> <Skeleton /> <Skeleton.Text /> <HStack space="2" alignItems="center"> <Skeleton size="5" rounded="full" /> <Skeleton h="3" flex="2" rounded="full" /> <Skeleton h="3" flex="1" rounded="full" /> </HStack> </VStack> </HStack> </s> add <Center> <HStack w="90%" maxW="400" borderWidth="1" space={8} rounded="md" borderColor="coolGray.400" p="4" > <Skeleton flex="1" h="150" rounded="md" startColor="coolGray.100" /> <VStack flex="3" space="4"> <Skeleton startColor="amber.300" /> <Skeleton.Text /> <HStack space="2" alignItems="center"> <Skeleton size="5" rounded="full" /> <Skeleton h="3" flex="2" rounded="full" /> <Skeleton h="3" flex="1" rounded="full" startColor="indigo.300" /> </HStack> </VStack> </HStack> </Center> </s> remove <Box w="80%"> <Skeleton isLoaded={isLoaded} borderRadius="full" size={16}> <Avatar size={16} source={{ uri: 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', }} </s> add <Center> <Box w="90%" maxWidth="400"> <VStack w="400" borderWidth="1" space={8} overflow="hidden" rounded="md" borderColor="coolGray.400" </s> remove SS </Avatar> </Skeleton> <Skeleton.Text lines={6} mt={5} h={120} lineHeight="12px" space={2} isLoaded={isLoaded} > <Text fontSize={'md'} lineHeight={'20px'} mt={5}> {text} </Text> </Skeleton.Text> </Box> </s> add <Skeleton h="40" isLoaded={isLoaded}> <Image h="40" source={{ uri: 'https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2940&q=80', }} /> </Skeleton> <Skeleton.Text lines={4} px="4" isLoaded={isLoaded}> <Text px="4" fontSize={'md'} lineHeight={'20px'}> {text} </Text> </Skeleton.Text> <Skeleton px="4" mb="4" rounded="md" startColor="primary.100" isLoaded={isLoaded} > <Button m="4">Explore</Button> </Skeleton> </VStack> </Box> </Center> </s> remove import { Skeleton, VStack } from 'native-base'; </s> add import { Skeleton, VStack, Center } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Skeleton/Basic.tsx
import { Skeleton, VStack, HStack, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Skeleton, VStack, HStack } from 'native-base'; <mask> export const Example = () => { <mask> return ( <mask> <HStack <mask> w="80%" <mask> borderWidth="1" </s> feat: example design changes (#4522) </s> remove import { Skeleton, VStack, HStack } from 'native-base'; </s> add import { Skeleton, VStack, HStack, Center } from 'native-base'; </s> remove import { Skeleton, VStack } from 'native-base'; </s> add import { Skeleton, VStack, Center } from 'native-base'; </s> remove <VStack w="400" borderWidth="1" space={6} rounded="md" alignItems="center" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton borderWidth={1} </s> add <Center> <VStack w="90%" maxW="400" borderWidth="1" space={6} rounded="md" alignItems="center" </s> remove import { Spinner, VStack, Heading } from 'native-base'; </s> add import { Spinner, HStack } from 'native-base'; </s> remove import { Spinner, VStack, Heading } from 'native-base'; </s> add import { Spinner, HStack } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Skeleton/Color.tsx
<Center> <HStack w="90%" maxW="400" borderWidth="1" space={8} rounded="md" borderColor="coolGray.400" p="4" > <Skeleton flex="1" h="150" rounded="md" startColor="coolGray.100" /> <VStack flex="3" space="4"> <Skeleton startColor="amber.300" /> <Skeleton.Text /> <HStack space="2" alignItems="center"> <Skeleton size="5" rounded="full" /> <Skeleton h="3" flex="2" rounded="full" /> <Skeleton h="3" flex="1" rounded="full" startColor="indigo.300" /> </HStack> </VStack> </HStack> </Center>
<mask> import React from 'react'; <mask> import { Skeleton, VStack, HStack } from 'native-base'; <mask> export const Example = () => { <mask> return ( <mask> <HStack <mask> w="80%" <mask> borderWidth="1" <mask> space={8} <mask> rounded="md" <mask> borderColor="coolGray.200" <mask> p="4" <mask> > <mask> <Skeleton flex="1" h="100%" rounded="md" /> <mask> <VStack flex="3" space="4"> <mask> <Skeleton /> <mask> <Skeleton.Text /> <mask> <HStack space="2" alignItems="center"> <mask> <Skeleton size="5" rounded="full" /> <mask> <Skeleton h="3" flex="2" rounded="full" /> <mask> <Skeleton h="3" flex="1" rounded="full" /> <mask> </HStack> <mask> </VStack> <mask> </HStack> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove endColor="warmGray.50" size="20" rounded="full" mt="-70" /> <HStack space="2"> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> </HStack> <Skeleton.Text lines={3} alignItems="center" px="12" /> <Skeleton mb="3" w="40" rounded="20" /> </VStack> </s> add > <Skeleton h="40" /> <Skeleton borderWidth={1} borderColor="coolGray.200" endColor="warmGray.50" size="20" rounded="full" mt="-70" /> <HStack space="2"> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> </HStack> <Skeleton.Text lines={3} alignItems="center" px="12" /> <Skeleton mb="3" w="40" rounded="20" /> </VStack> </Center> </s> remove <VStack w="400" borderWidth="1" space={8} overflow="hidden" rounded="md" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton.Text px="4" /> <Skeleton m="4" rounded="md" startColor="primary.100" /> </VStack> </s> add <Center> <VStack w="90%" maxW="400" borderWidth="1" space={8} overflow="hidden" rounded="md" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton.Text px="4" /> <Skeleton px="4" my="4" rounded="md" startColor="primary.100" /> </VStack> </Center> </s> remove <VStack w="400" borderWidth="1" space={6} rounded="md" alignItems="center" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton borderWidth={1} </s> add <Center> <VStack w="90%" maxW="400" borderWidth="1" space={6} rounded="md" alignItems="center" </s> remove <Box w="80%"> <Skeleton isLoaded={isLoaded} borderRadius="full" size={16}> <Avatar size={16} source={{ uri: 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg', }} </s> add <Center> <Box w="90%" maxWidth="400"> <VStack w="400" borderWidth="1" space={8} overflow="hidden" rounded="md" borderColor="coolGray.400" </s> remove import { Skeleton, VStack, HStack } from 'native-base'; </s> add import { Skeleton, VStack, HStack, Center } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Skeleton/Color.tsx
import { Skeleton, VStack, HStack, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Skeleton, VStack, HStack } from 'native-base'; <mask> export const Example = () => { <mask> return ( <mask> <VStack <mask> w="400" <mask> borderWidth="1" </s> feat: example design changes (#4522) </s> remove import { Skeleton, VStack } from 'native-base'; </s> add import { Skeleton, VStack, Center } from 'native-base'; </s> remove import { Skeleton, VStack, HStack } from 'native-base'; </s> add import { Skeleton, VStack, HStack, Center } from 'native-base'; </s> remove <VStack w="400" borderWidth="1" space={6} rounded="md" alignItems="center" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton borderWidth={1} </s> add <Center> <VStack w="90%" maxW="400" borderWidth="1" space={6} rounded="md" alignItems="center" </s> remove import { Spinner, VStack, Heading } from 'native-base'; </s> add import { Spinner, HStack } from 'native-base'; </s> remove import { Spinner, VStack, Heading } from 'native-base'; </s> add import { Spinner, HStack } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Skeleton/Composition.tsx
<Center> <VStack w="90%" maxW="400" borderWidth="1" space={6} rounded="md" alignItems="center"
<mask> import React from 'react'; <mask> import { Skeleton, VStack, HStack } from 'native-base'; <mask> export const Example = () => { <mask> return ( <mask> <VStack <mask> w="400" <mask> borderWidth="1" <mask> space={6} <mask> rounded="md" <mask> alignItems="center" <mask> borderColor="coolGray.200" <mask> > <mask> <Skeleton h="40" /> <mask> <Skeleton <mask> borderWidth={1} <mask> borderColor="coolGray.200" <mask> endColor="warmGray.50" <mask> size="20" <mask> rounded="full" <mask> mt="-70" </s> feat: example design changes (#4522) </s> remove <VStack w="400" borderWidth="1" space={8} overflow="hidden" rounded="md" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton.Text px="4" /> <Skeleton m="4" rounded="md" startColor="primary.100" /> </VStack> </s> add <Center> <VStack w="90%" maxW="400" borderWidth="1" space={8} overflow="hidden" rounded="md" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton.Text px="4" /> <Skeleton px="4" my="4" rounded="md" startColor="primary.100" /> </VStack> </Center> </s> remove endColor="warmGray.50" size="20" rounded="full" mt="-70" /> <HStack space="2"> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> </HStack> <Skeleton.Text lines={3} alignItems="center" px="12" /> <Skeleton mb="3" w="40" rounded="20" /> </VStack> </s> add > <Skeleton h="40" /> <Skeleton borderWidth={1} borderColor="coolGray.200" endColor="warmGray.50" size="20" rounded="full" mt="-70" /> <HStack space="2"> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> </HStack> <Skeleton.Text lines={3} alignItems="center" px="12" /> <Skeleton mb="3" w="40" rounded="20" /> </VStack> </Center> </s> remove <HStack w="80%" borderWidth="1" space={8} rounded="md" borderColor="coolGray.200" p="4" > <Skeleton flex="1" h="100%" rounded="md" /> <VStack flex="3" space="4"> <Skeleton /> <Skeleton.Text /> <HStack space="2" alignItems="center"> <Skeleton size="5" rounded="full" /> <Skeleton h="3" flex="2" rounded="full" /> <Skeleton h="3" flex="1" rounded="full" /> </HStack> </VStack> </HStack> </s> add <Center> <HStack w="90%" maxW="400" borderWidth="1" space={8} rounded="md" borderColor="coolGray.400" p="4" > <Skeleton flex="1" h="150" rounded="md" startColor="coolGray.100" /> <VStack flex="3" space="4"> <Skeleton startColor="amber.300" /> <Skeleton.Text /> <HStack space="2" alignItems="center"> <Skeleton size="5" rounded="full" /> <Skeleton h="3" flex="2" rounded="full" /> <Skeleton h="3" flex="1" rounded="full" startColor="indigo.300" /> </HStack> </VStack> </HStack> </Center> </s> remove import { Skeleton, VStack, HStack } from 'native-base'; </s> add import { Skeleton, VStack, HStack, Center } from 'native-base'; </s> remove import { Skeleton, VStack } from 'native-base'; </s> add import { Skeleton, VStack, Center } from 'native-base';
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Skeleton/Composition.tsx
> <Skeleton h="40" /> <Skeleton borderWidth={1} borderColor="coolGray.200" endColor="warmGray.50" size="20" rounded="full" mt="-70" /> <HStack space="2"> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> <Skeleton size="5" rounded="full" /> </HStack> <Skeleton.Text lines={3} alignItems="center" px="12" /> <Skeleton mb="3" w="40" rounded="20" /> </VStack> </Center>
<mask> <Skeleton h="40" /> <mask> <Skeleton <mask> borderWidth={1} <mask> borderColor="coolGray.200" <mask> endColor="warmGray.50" <mask> size="20" <mask> rounded="full" <mask> mt="-70" <mask> /> <mask> <HStack space="2"> <mask> <Skeleton size="5" rounded="full" /> <mask> <Skeleton size="5" rounded="full" /> <mask> <Skeleton size="5" rounded="full" /> <mask> <Skeleton size="5" rounded="full" /> <mask> <Skeleton size="5" rounded="full" /> <mask> </HStack> <mask> <Skeleton.Text lines={3} alignItems="center" px="12" /> <mask> <Skeleton mb="3" w="40" rounded="20" /> <mask> </VStack> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <HStack w="80%" borderWidth="1" space={8} rounded="md" borderColor="coolGray.200" p="4" > <Skeleton flex="1" h="100%" rounded="md" /> <VStack flex="3" space="4"> <Skeleton /> <Skeleton.Text /> <HStack space="2" alignItems="center"> <Skeleton size="5" rounded="full" /> <Skeleton h="3" flex="2" rounded="full" /> <Skeleton h="3" flex="1" rounded="full" /> </HStack> </VStack> </HStack> </s> add <Center> <HStack w="90%" maxW="400" borderWidth="1" space={8} rounded="md" borderColor="coolGray.400" p="4" > <Skeleton flex="1" h="150" rounded="md" startColor="coolGray.100" /> <VStack flex="3" space="4"> <Skeleton startColor="amber.300" /> <Skeleton.Text /> <HStack space="2" alignItems="center"> <Skeleton size="5" rounded="full" /> <Skeleton h="3" flex="2" rounded="full" /> <Skeleton h="3" flex="1" rounded="full" startColor="indigo.300" /> </HStack> </VStack> </HStack> </Center> </s> remove <VStack w="400" borderWidth="1" space={6} rounded="md" alignItems="center" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton borderWidth={1} </s> add <Center> <VStack w="90%" maxW="400" borderWidth="1" space={6} rounded="md" alignItems="center" </s> remove <VStack w="400" borderWidth="1" space={8} overflow="hidden" rounded="md" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton.Text px="4" /> <Skeleton m="4" rounded="md" startColor="primary.100" /> </VStack> </s> add <Center> <VStack w="90%" maxW="400" borderWidth="1" space={8} overflow="hidden" rounded="md" borderColor="coolGray.200" > <Skeleton h="40" /> <Skeleton.Text px="4" /> <Skeleton px="4" my="4" rounded="md" startColor="primary.100" /> </VStack> </Center> </s> remove SS </Avatar> </Skeleton> <Skeleton.Text lines={6} mt={5} h={120} lineHeight="12px" space={2} isLoaded={isLoaded} > <Text fontSize={'md'} lineHeight={'20px'} mt={5}> {text} </Text> </Skeleton.Text> </Box> </s> add <Skeleton h="40" isLoaded={isLoaded}> <Image h="40" source={{ uri: 'https://images.unsplash.com/photo-1447752875215-b2761acb3c5d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2940&q=80', }} /> </Skeleton> <Skeleton.Text lines={4} px="4" isLoaded={isLoaded}> <Text px="4" fontSize={'md'} lineHeight={'20px'}> {text} </Text> </Skeleton.Text> <Skeleton px="4" mb="4" rounded="md" startColor="primary.100" isLoaded={isLoaded} > <Button m="4">Explore</Button> </Skeleton> </VStack> </Box> </Center> </s> remove <VStack alignItems="center" space={4}> <Select selectedValue={service} minWidth="200" accessibilityLabel="Choose Service" placeholder="Choose Service" _selectedItem={{ bg: 'teal.600', endIcon: <CheckIcon size="5" />, }} mt={1} onValueChange={(itemValue) => setService(itemValue)} > <Select.Item label="UX Research" value="ux" /> <Select.Item label="Web Development" value="web" /> <Select.Item label="Cross Platform Development" value="cross" /> <Select.Item label="UI Designing" value="ui" /> <Select.Item label="Backend Development" value="backend" /> </Select> </VStack> </s> add <Center> <Box w="3/4" maxW="300"> <Select selectedValue={service} minWidth="200" accessibilityLabel="Choose Service" placeholder="Choose Service" _selectedItem={{ bg: 'teal.600', endIcon: <CheckIcon size="5" />, }} mt={1} onValueChange={(itemValue) => setService(itemValue)} > <Select.Item label="UX Research" value="ux" /> <Select.Item label="Web Development" value="web" /> <Select.Item label="Cross Platform Development" value="cross" /> <Select.Item label="UI Designing" value="ui" /> <Select.Item label="Backend Development" value="backend" /> </Select> </Box> </Center>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Skeleton/Composition.tsx
import { Skeleton, Text, Button, Box, Image, VStack, Center, } from 'native-base';
<mask> import React, { useState } from 'react'; <mask> import { Skeleton, Text, Avatar, Box } from 'native-base'; <mask> export const Example = () => { <mask> const [isLoaded, setIsLoaded] = useState(false); <mask> const [text, setText] = useState(''); <mask> setTimeout(() => { <mask> setIsLoaded(true); </s> feat: example design changes (#4522) </s> remove import { TextArea } from 'native-base'; </s> add import { TextArea, Box } from 'native-base'; </s> remove import { Button, Modal, VStack, HStack, Text, Radio } from 'native-base'; </s> add import { Button, Modal, VStack, HStack, Text, Radio, Center, } from 'native-base'; </s> remove import { Button, Modal } from 'native-base'; </s> add import { Button, Modal, Center } from 'native-base'; </s> remove import { Button, Modal, FormControl, Input } from 'native-base'; </s> add import { Button, Modal, FormControl, Input, Center } from 'native-base'; </s> remove import { Button } from 'native-base'; </s> add import { Button, Box } from 'native-base';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/composites/Skeleton/isLoaded.tsx