docstring_tokens
stringlengths
0
76.5k
code_tokens
stringlengths
75
1.81M
label_window
listlengths
4
2.12k
html_url
stringlengths
74
116
file_name
stringlengths
3
311
import { Radio, Stack } from 'native-base';
<mask> import React from 'react'; <mask> import { Center, Heading, Radio } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Center> <mask> <Heading mb="10" size="md"> </s> feat: example design changes (#4522) </s> remove import { IconButton, Box, Center, Head...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Radio/size.tsx
<Radio.Group name="exampleGroup" defaultValue="1" accessibilityLabel="pick a size" > <Stack direction={{ base: 'column', md: 'row' }} alignItems="center" space={4} w="75%" maxW="300px"
<mask> import { Center, Heading, Radio } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Center> <mask> <Heading mb="10" size="md"> <mask> Sizes <mask> </Heading> <mask> <Radio.Group <mask> name="exampleGroup" <mask> de...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Radio/size.tsx
</Stack> </Radio.Group>
<mask> </Radio> <mask> <Radio value="3" colorScheme="yellow" size="lg" my={1}> <mask> Large <mask> </Radio> <mask> </Radio.Group> <mask> </Center> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <Radio value="two" my={1}> </s> add ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Radio/size.tsx
import { Select, Box, CheckIcon, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { Select, VStack, CheckIcon } from 'native-base'; <mask> <mask> export const Example = () => { <mask> let [service, setService] = React.useState(''); <mask> <mask> return ( </s> feat: example design changes (#4522) </s> remove import { Input } from 'native-b...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Select/Basic.tsx
<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" />, }} ...
<mask> export const Example = () => { <mask> let [service, setService] = React.useState(''); <mask> <mask> return ( <mask> <VStack alignItems="center" space={4}> <mask> <Select <mask> selectedValue={service} <mask> minWidth="200" <mask> accessibilityLabel="Choose Service"...
[ "keep", "keep", "keep", "keep", "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/primitives/Select/Basic.tsx
Center,
<mask> import React from 'react'; <mask> import { <mask> FormControl, <mask> Select, <mask> Container, <mask> CheckIcon, <mask> WarningOutlineIcon, <mask> } from 'native-base'; <mask> <mask> export const Example = () => { </s> feat: example design changes (#4522) </s> remove import { Select, VStac...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Select/FormControlled.tsx
<Center> <FormControl w="3/4" maxW="300" isRequired isInvalid>
<mask> } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Container> <mask> <FormControl isRequired isInvalid> <mask> <FormControl.Label>Choose service</FormControl.Label> <mask> <Select <mask> minWidth="200" <mask> acces...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Select/FormControlled.tsx
</Center>
<mask> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> <mask> Please make a selection! <mask> </FormControl.ErrorMessage> <mask> </FormControl> <mask> </Container> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <FormCont...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Select/FormControlled.tsx
<Box alignItems="center"> <Slider defaultValue={70} size="sm" colorScheme="green" w="75%" maxW="300" >
<mask> import { MaterialIcons } from '@expo/vector-icons'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box mx="5" width="80%"> <mask> <Slider defaultValue={70} size="sm" colorScheme="green"> <mask> <Slider.Track bg="green.100"> <mask> <Slider.FilledTrack b...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Slider/Customized.tsx
import { FormControl, Slider, VStack, WarningOutlineIcon, Box, } from 'native-base';
<mask> import React from 'react'; <mask> import { FormControl, Slider, VStack, WarningOutlineIcon } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} mx="10" width="80%"> <mask> <FormControl isInvalid> </s> feat: example design changes (#4522)...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Slider/FormControlled.tsx
<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....
<mask> import { FormControl, Slider, VStack, WarningOutlineIcon } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} mx="10" width="80%"> <mask> <FormControl isInvalid> <mask> <FormControl.Label>Set your budget</FormControl.Label> <mask...
[ "keep", "keep", "keep", "keep", "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/primitives/Slider/FormControlled.tsx
import { Slider, VStack, Box } from 'native-base';
<mask> import React from 'react'; <mask> import { Slider, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} width="80%"> <mask> <Heading mb="10" textAlign="center"> </s> feat: example design changes (#4522) </s> remove import...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Slider/Size.tsx
<Box alignItems="center"> <VStack space={4} w="75%" maxW="300"> <Slider defaultValue={40} size="sm"> <Slider.Track> <Slider.FilledTrack /> </Slider.Track> <Slider.Thumb /> </Slider> <Slider defaultValue={60} size="md"> <Slider.Track> ...
<mask> import { Slider, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} width="80%"> <mask> <Heading mb="10" textAlign="center"> <mask> Sizes <mask> </Heading> <mask> <Slider defaultValue={40} size="sm"...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "re...
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Slider/Size.tsx
<Box alignItems="center"> <Stack space={4} alignItems="center" w="75%" maxW="300"> <Text textAlign="center">onChangeValue - {onChangeValue}</Text> <Text textAlign="center">onChangeEndValue - {onChangeEndValue}</Text>
<mask> export const Example = () => { <mask> const [onChangeValue, setOnChangeValue] = React.useState(70); <mask> const [onChangeEndValue, setOnChangeEndValue] = React.useState(70); <mask> return ( <mask> <Stack mx="5" space={4} alignItems="center" w="80%"> <mask> <Text textAlign="center">onChange...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Slider/Value.tsx
</Stack> </Box>
<mask> <Slider.FilledTrack /> <mask> </Slider.Track> <mask> <Slider.Thumb /> <mask> </Slider> <mask> </Box> <mask> </Stack> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <VStack space={4} width="80%"> <Heading mb="10" tex...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Slider/Value.tsx
import { Slider, Box, VStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Slider, Heading, VStack } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack width="80%" space={4}> <mask> <Heading mb="10" textAlign="center"> </s> feat: example design changes (#4522) </s> remove import...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Slider/color.tsx
<Box alignItems="center"> <VStack w="3/4" maxW="300" space={4}> <Slider defaultValue={70} colorScheme="orange"> <Slider.Track> <Slider.FilledTrack /> </Slider.Track> <Slider.Thumb /> </Slider> <Slider defaultValue={70} colorScheme="emerald"> ...
<mask> import { Slider, Heading, VStack } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack width="80%" space={4}> <mask> <Heading mb="10" textAlign="center"> <mask> Color Schemes <mask> </Heading> <mask> <Slider defaultValue={70} c...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "re...
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Slider/color.tsx
<Box alignItems="center">
<mask> import { Slider, Box } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box mx="5" width="80%"> <mask> <Slider <mask> defaultValue={70} <mask> minValue={0} <mask> maxValue={100} <mask> accessibilityLabel="hello world" ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Slider/usage.tsx
w="3/4" maxW="300"
<mask> export const Example = () => { <mask> return ( <mask> <Box alignItems="center"> <mask> <Slider <mask> defaultValue={70} <mask> minValue={0} <mask> maxValue={100} <mask> accessibilityLabel="hello world" <mask> step={10} </s> feat: example design change...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Slider/usage.tsx
import { Spinner, HStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Spinner, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading textAlign="center" mb="10"> </s> feat: example design changes (#4522) </s> remo...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Spinner/color.tsx
<HStack space={8} justifyContent="center">
<mask> import { Spinner, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading textAlign="center" mb="10"> <mask> Color Scheme <mask> </Heading> <mask> <Spinner color="eme...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Spinner/color.tsx
</HStack>
<mask> <Spinner color="emerald.500" /> <mask> <Spinner color="warning.500" /> <mask> <Spinner color="indigo.500" /> <mask> <Spinner color="cyan.500" /> <mask> </VStack> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <VStack space={4} alignItems="cente...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Spinner/color.tsx
import { Spinner, HStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Spinner, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading textAlign="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/primitives/Spinner/size.tsx
<HStack space={8} justifyContent="center" alignItems="center">
<mask> import { Spinner, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading textAlign="center" mb="10"> <mask> Sizes <mask> </Heading> <mask> <Spinner size="sm" /> <ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Spinner/size.tsx
</HStack>
<mask> Sizes <mask> </Heading> <mask> <Spinner size="sm" /> <mask> <Spinner size="lg" /> <mask> </VStack> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove <VStack space={4} alignItems="center"> <Heading textAlign="center" mb="10"> Sizes ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Spinner/size.tsx
<HStack space={2} justifyContent="center">
<mask> import { Spinner, HStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <HStack space={2} alignItems="center"> <mask> <Spinner accessibilityLabel="Loading posts" /> <mask> <Heading color="primary.500" fontSize="md"> <mask> Loa...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Spinner/usage.tsx
<VStack space="2.5" mt="4" px="8">
<mask> <mask> export function Example() { <mask> return ( <mask> <ScrollView> <mask> <VStack space="2.5" mt="4"> <mask> <Heading size="md">row</Heading> <mask> <Stack direction="row" mb="2.5" mt="1.5" space={3}> <mask> <Center <mask> size="16" <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.400"
<mask> <Heading size="md">row</Heading> <mask> <Stack direction="row" mb="2.5" mt="1.5" space={3}> <mask> <Center <mask> size="16" <mask> bg="primary.500" <mask> rounded="sm" <mask> _text={{ <mask> color: 'warmGray.50', <ma...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.500"
<mask> > <mask> Box 1 <mask> </Center> <mask> <Center <mask> bg="secondary.500" <mask> size="16" <mask> rounded="sm" <mask> _text={{ <mask> color: 'warmGray.50', <mask> fontWeight: 'medium', ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.700"
<mask> Box 2 <mask> </Center> <mask> <Center <mask> size="16" <mask> bg="emerald.500" <mask> rounded="sm" <mask> _text={{ <mask> color: 'warmGray.50', <mask> fontWeight: 'medium', <mask> }} ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.400"
<mask> <Heading size="md">column</Heading> <mask> <Stack mb="2.5" mt="1.5" direction="column" space={3}> <mask> <Center <mask> size="16" <mask> bg="primary.500" <mask> rounded="sm" <mask> _text={{ <mask> color: 'warmGray.50'...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.500"
<mask> > <mask> Box 1 <mask> </Center> <mask> <Center <mask> bg="secondary.500" <mask> size="16" <mask> rounded="sm" <mask> _text={{ <mask> color: 'warmGray.50', <mask> fontWeight: 'medium', ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.700"
<mask> Box 2 <mask> </Center> <mask> <Center <mask> size="16" <mask> bg="emerald.500" <mask> rounded="sm" <mask> _text={{ <mask> color: 'warmGray.50', <mask> fontWeight: 'medium', <mask> }} ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.400"
<mask> <Heading size="md">row-reverse</Heading> <mask> <Stack mb="2.5" mt="1.5" direction="row" reversed space={3}> <mask> <Center <mask> size="16" <mask> bg="primary.500" <mask> rounded="sm" <mask> _text={{ <mask> color: 'w...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.500"
<mask> > <mask> Box 1 <mask> </Center> <mask> <Center <mask> bg="secondary.500" <mask> size="16" <mask> rounded="sm" <mask> _text={{ <mask> color: 'warmGray.50', <mask> fontWeight: 'medium', ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.700"
<mask> Box 2 <mask> </Center> <mask> <Center <mask> size="16" <mask> bg="emerald.500" <mask> rounded="sm" <mask> _text={{ <mask> color: 'warmGray.50', <mask> fontWeight: 'medium', <mask> }} ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.400"
<mask> <Heading size="md">column-reverse</Heading> <mask> <Stack mb="2.5" mt="1.5" direction="column-reverse" space={3}> <mask> <Center <mask> size="16" <mask> bg="primary.500" <mask> rounded="sm" <mask> _text={{ <mask> colo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.500"
<mask> > <mask> Box 1 <mask> </Center> <mask> <Center <mask> bg="secondary.500" <mask> size="16" <mask> rounded="sm" <mask> _text={{ <mask> color: 'warmGray.50', <mask> fontWeight: 'medium', ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
bg="primary.700"
<mask> Box 2 <mask> </Center> <mask> <Center <mask> size="16" <mask> bg="emerald.500" <mask> rounded="sm" <mask> _text={{ <mask> color: 'warmGray.50', <mask> fontWeight: 'medium', <mask> }} ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Stack/basic.tsx
import { Switch, VStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Switch, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading textAlign="center" mb="10"> </s> feat: example design changes (#4522) </s> remov...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Switch/ColorSchemes.tsx
<mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading textAlign="center" mb="10"> <mask> Color Scheme <mask> </Heading> <mask> <Switch defaultIsChecked colorScheme="primary" /> <mask> <Switch defaultIsCh...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Switch/ColorSchemes.tsx
import { Switch, VStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Switch, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading mb="10">Sizes</Heading> </s> feat: example design changes (#4522) </s> remove im...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Switch/Sizes.tsx
<mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading mb="10">Sizes</Heading> <mask> <Switch size="sm" /> <mask> <Switch size="md" /> <mask> <Switch size="lg" /> <mask> </VStack> <mask> ); </s> feat: exa...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Switch/Sizes.tsx
import { Switch, VStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Switch, VStack, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading textAlign="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/primitives/Switch/SwitchBgColor.tsx
<mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading textAlign="center" mb="10"> <mask> Track & Thumb color <mask> </Heading> <mask> <Switch /> <mask> <Switch <mask> offTrackColor="orange.100" ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Switch/SwitchBgColor.tsx
import { Text, VStack } from 'native-base';
<mask> import React from 'react'; <mask> import { Heading, Text, VStack } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={1} alignItems="center" mt={3}> <mask> <Heading textAlign="center" mb="10"> </s> feat: example design changes (#4522) </s> ...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Text/ChangingFontSize.tsx
<VStack space={1} alignItems="center">
<mask> import { Heading, Text, VStack } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <VStack space={1} alignItems="center" mt={3}> <mask> <Heading textAlign="center" mb="10"> <mask> Sizes <mask> </Heading> <mask> <Text fontSize="xs">xs...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/Text/ChangingFontSize.tsx
import { TextArea, Box } from 'native-base';
<mask> import React from 'react'; <mask> import { TextArea } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <TextArea <mask> h={20} </s> feat: example design changes (#4522) </s> remove <TextArea h={20} placeholder="Text Area Placeholder" ...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/TextArea/basic.tsx
<Box alignItems="center"> <TextArea h={20} placeholder="Text Area Placeholder" w="75%" maxW="300" /> </Box>
<mask> import { TextArea } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <TextArea <mask> h={20} <mask> placeholder="Text Area Placeholder" <mask> w={{ base: '70%', md: '25%' }} <mask> /> <mask> ); <mask> }; </s> feat: example design c...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/TextArea/basic.tsx
<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" isInvali...
<mask> import { Box, TextArea, Text, Stack, Divider } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Stack space={2.5} w={{ base: '70%', md: '25%' }}> <mask> <Box w="100%"> <mask> <Text mb="4" bold fontSize="lg"> <mask> Invalid TextArea <...
[ "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", "keep", ...
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/TextArea/invalid.tsx
<TextArea aria-label="t1Disabled" placeholder="Disabled TextArea" isDisabled /> </Box> </Stack> </Box>
<mask> <Text bold fontSize="lg" mb="4"> <mask> Disabled TextArea <mask> </Text> <mask> <mask> <TextArea <mask> aria-label="t1Disabled" <mask> placeholder="Disabled TextArea" <mask> isDisabled <mask> /> <mask> </Box> <mask> </S...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/TextArea/invalid.tsx
import { TextArea, Box } from 'native-base';
<mask> import React, { useState } from 'react'; <mask> import { TextArea } from 'native-base'; <mask> <mask> export const Example = () => { <mask> const [textAreaValue, setTextAreaValue] = useState('Value Controlled'); <mask> const demoValueControlledTextArea = (e: any) => { <mask> setTextAreaValue(e.cu...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/TextArea/value.tsx
<Box alignItems="center"> <TextArea value={textAreaValue} onChange={demoValueControlledTextArea} w="75%" maxW="300" /> </Box>
<mask> const demoValueControlledTextArea = (e: any) => { <mask> setTextAreaValue(e.currentTarget.value); <mask> }; <mask> return ( <mask> <TextArea <mask> value={textAreaValue} <mask> onChange={demoValueControlledTextArea} <mask> w={{ base: '70%', md: '25%' }} <mask> /> <ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/TextArea/value.tsx
import { VStack, Center } from 'native-base';
<mask> import React from 'react'; <mask> import { VStack, Center, Heading } from 'native-base'; <mask> <mask> export function Example() { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading textAlign="center" mb="10"> </s> feat: example design changes (#4522) </s> remove i...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/VStack/basic.tsx
<Center w="64" h="20" bg="indigo.300" rounded="md" shadow={3} /> <Center w="64" h="20" bg="indigo.500" rounded="md" shadow={3} /> <Center w="64" h="20" bg="indigo.700" rounded="md" shadow={3} />
<mask> <mask> export function Example() { <mask> return ( <mask> <VStack space={4} alignItems="center"> <mask> <Heading textAlign="center" mb="10"> <mask> VStack <mask> </Heading> <mask> <Center w="64" h="20" bg="primary.500" rounded="md" shadow={3} /> <mask> <Center w="6...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/VStack/basic.tsx
import { Center, ZStack, Box } from 'native-base';
<mask> import React from 'react'; <mask> import { ZStack, Box } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <ZStack alignItems="center" justifyContent="center"> <mask> <Box bg="primary.500" size="64" rounded="lg" /> </s> feat: example design changes (#452...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/ZStack/CenterStack.tsx
<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>
<mask> import { ZStack, Box } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <ZStack alignItems="center" justifyContent="center"> <mask> <Box bg="primary.500" size="64" rounded="lg" /> <mask> <Box bg="secondary.500" size="48" rounded="lg" shadow={8} /> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/ZStack/CenterStack.tsx
import { Center, ZStack, Box } from 'native-base';
<mask> import React from 'react'; <mask> import { ZStack, Box, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <> <mask> <Heading mb="10">ZStack</Heading> </s> feat: example design changes (#4522) </s> remove <> <Heading mb="10">ZStack</He...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/ZStack/example.tsx
<Center h="40"> <Box mt="-32">
<mask> import { ZStack, Box, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <> <mask> <Heading mb="10">ZStack</Heading> <mask> <Box h="40"> <mask> <ZStack mt="3" ml={-50}> <mask> <Box bg="primary.500" size="20" rounded="lg"...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/ZStack/example.tsx
<Box bg="primary.700" size="20" rounded="lg" shadow={3} />
<mask> <> <mask> <Heading mb="10">ZStack</Heading> <mask> <Box h="40"> <mask> <ZStack mt="3" ml={-50}> <mask> <Box bg="primary.500" size="20" rounded="lg" shadow={3} /> <mask> <Box <mask> bg="secondary.500" <mask> mt="5" <mask> ml=...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/ZStack/example.tsx
bg="primary.500"
<mask> <Box h="40"> <mask> <ZStack mt="3" ml={-50}> <mask> <Box bg="primary.500" size="20" rounded="lg" shadow={3} /> <mask> <Box <mask> bg="secondary.500" <mask> mt="5" <mask> ml="5" <mask> size="20" <mask> rounded="...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/ZStack/example.tsx
bg="primary.300"
<mask> rounded="lg" <mask> shadow={5} <mask> /> <mask> <Box <mask> bg="emerald.500" <mask> mt="10" <mask> ml="10" <mask> size="20" <mask> rounded="lg" <mask> shadow={7} </s> feat: example desig...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/ZStack/example.tsx
</Center>
<mask> shadow={7} <mask> /> <mask> </ZStack> <mask> </Box> <mask> </> <mask> ); <mask> }; </s> feat: example design changes (#4522) </s> remove </> </s> add </Box> </s> remove </> </s> add </Box> </s> remove <ZStack alignItems="center" justifyConte...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a10e1f16aa8be6de5b7eaa7e5db53f6968ca9cef
example/storybook/stories/components/primitives/ZStack/example.tsx
<VStack space={4}> <Heading textAlign="center">Progress ColorScheme</Heading> <VStack mx={4} space={4}>
<mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <VStack space="md"> <mask> <Heading textAlign="center" mb={8}> <mask> Progress ColorScheme <mask> </Heading> <mask> <VStack mx={4} space="md"> <mask> <Progress colo...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a150aff7a9409a152fff327f243aff75bf579857
example/storybook/stories/components/composites/Progress/ColorScheme.tsx
45%
<mask> <Heading>Progress Composition</Heading> <mask> </Center> <mask> <Text mb={2}>Add Label inside Progress</Text> <mask> <Progress size="xl" mb={4} value={45}> <mask> <Text color="white" bold> <mask> 45% <mask> </Text> <mask> </Progress> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a150aff7a9409a152fff327f243aff75bf579857
example/storybook/stories/components/composites/Progress/Composition.tsx
<VStack space={4}> <Heading textAlign="center">Progress Sizes</Heading> <VStack mx={4} space={4}> <Progress size="xs" value={25} /> <Progress size="sm" value={35} /> <Progress size="md" value={45} /> <Progress size="lg" value={55} /> <Progress size...
<mask> <mask> export const Example = () => { <mask> return ( <mask> <Box w="90%"> <mask> <VStack space="md"> <mask> <Heading textAlign="center" mb={8}> <mask> Progress Sizes <mask> </Heading> <mask> <VStack mx={4} space="md"> <mask> <Progress size="xs" ...
[ "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/a150aff7a9409a152fff327f243aff75bf579857
example/storybook/stories/components/composites/Progress/Sizes.tsx
// /** // * Whether progress is indeterminate // * @default false // */ // isIndeterminate?: boolean;
<mask> * @default primary <mask> */ <mask> colorScheme?: string; <mask> /** <mask> * Pseudo prop to give Prop to filled track <mask> */ <mask> _filledTrack?: IBoxProps; </s> feat: new prop resolution changes in progress </s> remove * Whether progress is indeterminate * @default false </...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a150aff7a9409a152fff327f243aff75bf579857
src/components/composites/Progress/index.tsx
* Pseudo prop to give Prop to filled track
<mask> * @default primary <mask> */ <mask> colorScheme?: string; <mask> /** <mask> * Whether progress is indeterminate <mask> * @default false <mask> */ <mask> isIndeterminate?: boolean; <mask> /** <mask> * Min progress value <mask> * @default 0 </s> feat: new prop resolution ch...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a150aff7a9409a152fff327f243aff75bf579857
src/components/composites/Progress/index.tsx
_filledTrack?: IBoxProps;
<mask> /** <mask> * Whether progress is indeterminate <mask> * @default false <mask> */ <mask> isIndeterminate?: boolean; <mask> /** <mask> * Min progress value <mask> * @default 0 <mask> */ <mask> min?: number; </s> feat: new prop resolution changes in progress </s> remove * Whe...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a150aff7a9409a152fff327f243aff75bf579857
src/components/composites/Progress/index.tsx
<mask> max?: number; <mask> } <mask> <mask> const Progress = (props: IProgressProps, ref?: any) => { <mask> // const width = new Animated.Value(0); <mask> // useEffect(() => { <mask> // Animated.loop( <mask> // Animated.timing(width, { <mask> // toValue: 270, <mask> // duratio...
[ "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/a150aff7a9409a152fff327f243aff75bf579857
src/components/composites/Progress/index.tsx
_filledTrack, children,
<mask> const { <mask> min, <mask> max, <mask> value, <mask> isIndeterminate, <mask> ...resolvedProps <mask> } = usePropsResolution('Progress', props); <mask> const { innerBg } = resolvedProps; <mask> <mask> const innerProps = { </s> feat: new prop resolution changes in progress <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a150aff7a9409a152fff327f243aff75bf579857
src/components/composites/Progress/index.tsx
<mask> value, <mask> isIndeterminate, <mask> ...resolvedProps <mask> } = usePropsResolution('Progress', props); <mask> const { innerBg } = resolvedProps; <mask> <mask> const innerProps = { <mask> bg: innerBg, <mask> shadow: 0, <mask> rounded: resolvedProps.rounded, <mask> h...
[ "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", "k...
https://github.com/GeekyAnts/NativeBase/commit/a150aff7a9409a152fff327f243aff75bf579857
src/components/composites/Progress/index.tsx
<mask> <mask> return ( <mask> <Box <mask> {...resolvedProps} <mask> style={resolvedProps.style} <mask> ref={ref} <mask> accessible <mask> accessibilityRole="progressbar" <mask> accessibilityValue={{ <mask> min: min, </s> feat: new prop resolution changes in ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a150aff7a9409a152fff327f243aff75bf579857
src/components/composites/Progress/index.tsx
<Box // {...resolvedProps} {..._filledTrack} w={ value < max && value > min ? ((value - min) / (max - min)) * 100 + '%' : value > min ? '100%' : '0%' } > {children} </Box>
<mask> ? 100 <mask> : 0, <mask> }} <mask> > <mask> {isIndeterminate ? ( <mask> // <Animated.View <mask> // style={[ <mask> // { <mask> // transform: [ <mask> // { <mask> // translateX: width,...
[ "keep", "keep", "keep", "keep", "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/a150aff7a9409a152fff327f243aff75bf579857
src/components/composites/Progress/index.tsx
<mask> <mask> function baseStyle(props: Record<string, any>) { <mask> const colorScheme = getColorScheme(props); <mask> return { <mask> innerBg: mode(`${colorScheme}.600`, `${colorScheme}.500`)(props), <mask> bg: mode(`${colorScheme}.200`, `${colorScheme}.800`)(props), <mask> }; <mask> } <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a150aff7a9409a152fff327f243aff75bf579857
src/theme/components/progress.ts
overflow: 'hidden', _filledTrack: { bg: mode(`${colorScheme}.600`, `${colorScheme}.500`)(props), shadow: 0, height: '100%', display: 'flex', alignItems: 'center', justifyContent: 'center', _text: { color: 'white', fontWeight: 'bold', }, },
<mask> const colorScheme = getColorScheme(props); <mask> <mask> return { <mask> bg: mode(`${colorScheme}.200`, `${colorScheme}.800`)(props), <mask> }; <mask> } <mask> <mask> const sizes = { </s> feat: new prop resolution changes in progress </s> remove innerBg: mode(`${colorScheme}.600`, `${col...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a150aff7a9409a152fff327f243aff75bf579857
src/theme/components/progress.ts
* The alt text that describes the image. This will be added as accessibilityLabel in android/iOS and alt on web.
<mask> * specify a source for image. <mask> */ <mask> source?: ImageSourcePropType; <mask> /** <mask> * The alt text that describes the image. This will be added as accessibilityLabel in android/iOS and alt on web <mask> */ <mask> alt?: string; <mask> /** <mask> * In event there was an e...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a197d6c1c089c42400178f6a07c1914284e72b29
src/components/primitives/Image/types.ts
* In the event of an error loading the src, specify a fallback source.
<mask> * The alt text that describes the image. This will be added as accessibilityLabel in android/iOS and alt on web <mask> */ <mask> alt?: string; <mask> /** <mask> * In event there was an error loading the src, specify a fallback source. <mask> */ <mask> fallbackSource?: ImageSourcePropType...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a197d6c1c089c42400178f6a07c1914284e72b29
src/components/primitives/Image/types.ts
* Opt out of the fallbackSource logic and show alternative text.
<mask> * In event there was an error loading the src, specify a fallback source. <mask> */ <mask> fallbackSource?: ImageSourcePropType; <mask> /** <mask> * Opt out of the fallbackSource logic and show alternative text <mask> */ <mask> ignoreFallback?: boolean; <mask> /** <mask> * Text st...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a197d6c1c089c42400178f6a07c1914284e72b29
src/components/primitives/Image/types.ts
* In the event of an error loading the src, specify a fallback JSX Element.
<mask> * Text styling for alt. <mask> */ <mask> _alt?: Partial<ITextProps>; <mask> /** <mask> * In event there was an error loading the src, specify a fallback JSX Element. <mask> */ <mask> fallbackElement?: JSX.Element | JSX.Element[]; <mask> /** <mask> * specify a source for image. <m...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a197d6c1c089c42400178f6a07c1914284e72b29
src/components/primitives/Image/types.ts
import { Button, useToast, Wrap } from 'native-base';
<mask> import React from 'react'; <mask> import { Button, useToast, VStack } from 'native-base'; <mask> <mask> export const Example = () => { <mask> const toast = useToast(); <mask> <mask> return ( </s> fix: add more toast examples </s> remove <VStack space={2}> <Button onPress={() => ...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
example/storybook/stories/components/composites/Toast/ToastVariants.tsx
const variants = ['solid', 'subtle', 'left-accent', 'top-accent'];
<mask> <mask> export const Example = () => { <mask> const toast = useToast(); <mask> <mask> return ( <mask> <Wrap> <mask> {variants.map((variant) => ( <mask> <Button <mask> key={variant} </s> fix: add more toast examples </s> remove <VStack space={2}> <Button ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
example/storybook/stories/components/composites/Toast/ToastVariants.tsx
<Wrap> {variants.map((variant) => ( <Button key={variant} onPress={() => toast.show({ title: `${variant} toast`, variant: variant, isClosable: true, }) } mr={2} > Show {variant} ...
<mask> export const Example = () => { <mask> const toast = useToast(); <mask> <mask> return ( <mask> <VStack space={2}> <mask> <Button <mask> onPress={() => <mask> toast.show({ <mask> title: 'Account verified', <mask> status: 'success', <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "re...
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
example/storybook/stories/components/composites/Toast/ToastVariants.tsx
import { Example as ToastStatus } from './ToastStatus';
<mask> import { Example as Basic } from './Basic'; <mask> import { Example as CloseToast } from './CloseToast'; <mask> import { Example as CustomComponent } from './CustomComponent'; <mask> import { Example as PreventDuplicate } from './PreventDuplicate'; <mask> <mask> storiesOf('Toast', module) <mask> .addDe...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
example/storybook/stories/components/composites/Toast/index.tsx
<mask> <mask> storiesOf('Toast', module) <mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>) <mask> .add('Toast Variants', () => <ToastVariants />) <mask> .add('Basic', () => <Basic />) <mask> .add('Toast Positions', () => <ToastPositions />) <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
example/storybook/stories/components/composites/Toast/index.tsx
.add('Prevent Duplicate', () => <PreventDuplicate />) .add('Status', () => <ToastStatus />) .add('Toast Variants', () => <ToastVariants />);
<mask> .add('Basic', () => <Basic />) <mask> .add('Toast Positions', () => <ToastPositions />) <mask> .add('Custom Component', () => <CustomComponent />) <mask> .add('CloseToast', () => <CloseToast />) <mask> .add('Prevent Duplicate', () => <PreventDuplicate />); </s> fix: add more toast examples </s> r...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
example/storybook/stories/components/composites/Toast/index.tsx
status,
<mask> const { <mask> placement = 'bottom', <mask> title, <mask> render, <mask> status = 'none', <mask> id = toastIndex.current++, <mask> description, <mask> isClosable = true, <mask> duration = 5000, <mask> variant, </s> fix: add more toast examples ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
src/components/composites/Toast/Toast.tsx
} else if (!status && !variant) {
<mask> let component = null; <mask> <mask> if (render) { <mask> component = render({ id: toastIndex.current }); <mask> } else if (status === 'none') { <mask> component = ( <mask> <VStack space={1} {...themeProps} {...rest}> <mask> <Box _text={themeProps._title}>{title}...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
src/components/composites/Toast/Toast.tsx
} else if (status || variant) {
<mask> <Box _text={themeProps._description}>{description}</Box> <mask> )} <mask> </VStack> <mask> ); <mask> } else if (typeof status === 'string') { <mask> component = ( <mask> <Alert <mask> status={status ?? 'info'} <mask> variant={vari...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
src/components/composites/Toast/Toast.tsx
* The status of the toast. Adding status will render an [Alert](alert.md) component inside the `Toast`
<mask> * Render a component toast component. Any component passed will receive 2 props: `id` and `onClose`. <mask> */ <mask> render?: (props: any) => ReactNode; <mask> /** <mask> * The status of the toast. Any values apart from `none` will render an [Alert](alert.md) component inside the `Toast` <mas...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
src/components/composites/Toast/types.ts
status?: 'info' | 'warning' | 'error' | 'success';
<mask> /** <mask> * The status of the toast. Any values apart from `none` will render an [Alert](alert.md) component inside the `Toast` <mask> * @default none <mask> */ <mask> status?: 'none' | 'info' | 'warning' | 'error' | 'success'; <mask> /** <mask> * The title to be rendered in the Toast ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
src/components/composites/Toast/types.ts
/** The variants of the [Alert](alert.md) component.
<mask> /** <mask> * The title to be rendered in the Toast <mask> */ <mask> title?: ReactNode; <mask> /** The variants of the [Alert](alert.md) component. This will be only applied when the status is not `none` <mask> * @default subtle <mask> */ <mask> variant?: string; <mask> /** <mask>...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
src/components/composites/Toast/types.ts
variant?: | 'subtle' | 'solid' | 'left-accent' | 'top-accent' | 'outline' | 'outline-light';
<mask> title?: ReactNode; <mask> /** The variants of the [Alert](alert.md) component. This will be only applied when the status is not `none` <mask> * @default subtle <mask> */ <mask> variant?: string; <mask> /** <mask> * The text to be announced by a screen reader when the Toast opens. <mask>...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a1ec251926464fcd99f40420d5cd1a7426c3e112
src/components/composites/Toast/types.ts
<Box width="100%" bg="orange.300" p={4} shadow={4}>
<mask> import React from 'react'; <mask> import { Box } from 'native-base'; <mask> export const Basic = () => { <mask> return ( <mask> <Box <mask> width="100%" <mask> bg="orange.300" <mask> p={4} <mask> shadow={4} <mask> _text={{ fontSize: 'lg' }} <mask> > <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a2906f66381d5f8a0fc0fe3ffc56699c9e4b8d90
example/storybook/stories/components/primitives/Box/basic.tsx
import { useThemeProps } from '../../../hooks';
<mask> import React from 'react'; <mask> import { useThemeProps } from '../../../hooks/useThemeProps'; <mask> import AppBarLeft from './AppBarLeft'; <mask> import AppBarRight from './AppBarRight'; <mask> import AppBarContent from './AppBarContent'; <mask> import { HStack, IBoxProps } from '../../primitives'; <ma...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a2906f66381d5f8a0fc0fe3ffc56699c9e4b8d90
src/components/composites/AppBar/AppBar.tsx
const AppBar = React.memo(({ children, ...props }: IAppBarProps) => {
<mask> statusBarHeight?: number; <mask> space?: number; <mask> }; <mask> <mask> const AppBar = ({ children, ...props }: IAppBarProps) => { <mask> const { <mask> statusBarHeight = APPROX_STATUSBAR_HEIGHT, <mask> ...newProps <mask> } = useThemeProps('AppBar', props); <mask> return ( </s> Rev...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a2906f66381d5f8a0fc0fe3ffc56699c9e4b8d90
src/components/composites/AppBar/AppBar.tsx
});
<mask> > <mask> {children} <mask> </HStack> <mask> ); <mask> }; <mask> <mask> AppBar.Left = React.memo(AppBarLeft); <mask> AppBar.Right = React.memo(AppBarRight); <mask> AppBar.Content = React.memo(AppBarContent); <mask> </s> Revert "Merge branch 'feat/api-review' into v3-dev" This reverts...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a2906f66381d5f8a0fc0fe3ffc56699c9e4b8d90
src/components/composites/AppBar/AppBar.tsx
(AppBar as any).Left = React.memo(AppBarLeft); (AppBar as any).Right = React.memo(AppBarRight); (AppBar as any).Content = React.memo(AppBarContent);
<mask> </HStack> <mask> ); <mask> }; <mask> <mask> AppBar.Left = React.memo(AppBarLeft); <mask> AppBar.Right = React.memo(AppBarRight); <mask> AppBar.Content = React.memo(AppBarContent); <mask> <mask> export default AppBar; </s> Revert "Merge branch 'feat/api-review' into v3-dev" This reverts commit ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a2906f66381d5f8a0fc0fe3ffc56699c9e4b8d90
src/components/composites/AppBar/AppBar.tsx
import { themeTools } from '../../../theme'; import { addTextAndPropsToStrings } from '../../../utils/addTextAndPropsToStrings';
<mask> } from 'styled-system'; <mask> import { useThemeProps } from '../../../hooks/useThemeProps'; <mask> import { <mask> customBackground, <mask> customBorder, <mask> customExtra, </s> Revert "Merge branch 'feat/api-review' into v3-dev" This reverts commit 564618bc754b4e406078cd09689c62972a2e95f7, rever...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a2906f66381d5f8a0fc0fe3ffc56699c9e4b8d90
src/components/primitives/Box/index.tsx
<mask> customShadow, <mask> customTypography, <mask> } from '../../../utils/customProps'; <mask> import type { IBoxProps } from './types'; <mask> import Text from './../Text'; <mask> <mask> const StyledBox = styled(View)<IBoxProps>( <mask> color, <mask> space, <mask> layout, </s> Revert "Merge bra...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a2906f66381d5f8a0fc0fe3ffc56699c9e4b8d90
src/components/primitives/Box/index.tsx