docstring_tokens stringlengths 0 76.5k | code_tokens stringlengths 75 1.81M | label_window listlengths 4 2.12k | html_url stringlengths 74 116 | file_name stringlengths 3 311 |
|---|---|---|---|---|
export const Example = () => { | <mask> </Box>
<mask> );
<mask> }
<mask>
<mask> export default function () {
<mask> return (
<mask> <NativeBaseProvider>
<mask> <MyComponent />
<mask> </NativeBaseProvider>
<mask> );
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove export default func... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/hooks/useSafeArea/Fixed.tsx |
}; | <mask> <NativeBaseProvider>
<mask> <MyComponent />
<mask> </NativeBaseProvider>
<mask> );
<mask> }
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove export default function () {
</s> add export const Example = ... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/hooks/useSafeArea/Fixed.tsx |
export const Example = () => { | <mask> </Box>
<mask> );
<mask> }
<mask>
<mask> export default function () {
<mask> return (
<mask> <NativeBaseProvider>
<mask> <MyComponent />
<mask> </NativeBaseProvider>
<mask> );
</s> fix: updated general examples and also some Icons as well (#3695) | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/hooks/useSafeArea/Flexible.tsx |
}; | <mask> <NativeBaseProvider>
<mask> <MyComponent />
<mask> </NativeBaseProvider>
<mask> );
<mask> }
</s> fix: updated general examples and also some Icons as well (#3695) | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/hooks/useSafeArea/Flexible.tsx |
export const Example = () => { | <mask> </Box>
<mask> );
<mask> }
<mask>
<mask> export default function () {
<mask> return (
<mask> <NativeBaseProvider>
<mask> <MyComponent />
<mask> </NativeBaseProvider>
<mask> );
</s> fix: updated general examples and also some Icons as well (#3695) | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/hooks/useSafeArea/Hook.tsx |
}; | <mask> <NativeBaseProvider>
<mask> <MyComponent />
<mask> </NativeBaseProvider>
<mask> );
<mask> }
</s> fix: updated general examples and also some Icons as well (#3695) | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/hooks/useSafeArea/Hook.tsx |
import { Example as Flexible } from './Flexible';
import { Example as Fixed } from './Fixed';
import { Example as Hook } from './Hook'; | <mask> import React from 'react';
<mask> import { View } from 'react-native';
<mask> import { storiesOf } from '@storybook/react-native';
<mask> import { withKnobs } from '@storybook/addon-knobs';
<mask> import Flexible from './Flexible';
<mask> import Fixed from './Fixed';
<mask> import Hook from './Hook';
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/hooks/useSafeArea/index.tsx |
export const Example = () => { | <mask> import React from 'react';
<mask> import { Heading, VStack, NativeBaseProvider, extendTheme } from 'native-base';
<mask>
<mask> export default function () {
<mask> const theme = extendTheme({
<mask> colors: {
<mask> custom: {
<mask> 100: '#f7c',
<mask> 200: '#faa',
</s> fix... | [
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Custom/Basic.tsx |
}; | <mask> <Heading color="custom.300"> I'm a Heading</Heading>
<mask> </VStack>
<mask> </NativeBaseProvider>
<mask> );
<mask> }
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove }
</... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Custom/Basic.tsx |
export const Example = () => { | <mask> import React from 'react';
<mask> import { Text, extendTheme, Center, NativeBaseProvider } from 'native-base';
<mask>
<mask> export default function () {
<mask> const theme = extendTheme({
<mask> components: {
<mask> Text: {
<mask> baseStyle: {
<mask> color: 'emerald.400',... | [
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Custom/CustomizingBase.tsx |
}; | <mask> <Text>NativeBase</Text>
<mask> </Center>
<mask> </NativeBaseProvider>
<mask> );
<mask> }
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove }
</s> add }; </s> remove export default function () {
</s> add export const Example = () => { </s> remove export... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Custom/CustomizingBase.tsx |
export const Example = () => { | <mask> import React from 'react';
<mask> import { NativeBaseProvider, themeTools, extendTheme } from 'native-base';
<mask> import { Content } from './Content';
<mask>
<mask> export default function () {
<mask> const theme = extendTheme({
<mask> colors: {
<mask> // Add new color
<mask> custom... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Custom/CustomizingComponents.tsx |
}; | <mask> <NativeBaseProvider theme={theme}>
<mask> <Content />
<mask> </NativeBaseProvider>
<mask> );
<mask> }
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remov... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Custom/CustomizingComponents.tsx |
export const Example = () => { | <mask> import React from 'react';
<mask> import { NativeBaseProvider, extendTheme } from 'native-base';
<mask> import { Content } from './Content';
<mask>
<mask> export default function () {
<mask> const theme = extendTheme({
<mask> colors: {
<mask> // Add new color
<mask> custom: {
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Custom/CustomizingTheme.tsx |
}; | <mask> <NativeBaseProvider theme={theme}>
<mask> <Content />
<mask> </NativeBaseProvider>
<mask> );
<mask> }
</s> fix: updated general examples and also some Icons as well (#3695) | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Custom/CustomizingTheme.tsx |
export const Example = () => { | <mask> Center,
<mask> VStack,
<mask> } from 'native-base';
<mask>
<mask> export default function () {
<mask> const theme = extendTheme({
<mask> components: {
<mask> Button: {
<mask> variants: {
<mask> rounded: ({ colorScheme }: any) => {
</s> fix: updated general examples a... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Custom/CustomizingVariant.tsx |
}; | <mask> </VStack>
<mask> </Center>
<mask> </NativeBaseProvider>
<mask> );
<mask> }
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove export default functi... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Custom/CustomizingVariant.tsx |
import { Example as Basic } from './Basic';
import { Example as CustomizingBase } from './CustomizingBase';
import { Example as CustomizingTheme } from './CustomizingTheme';
import { Example as CustomizingVariant } from './CustomizingVariant';
import { Example as CustomizingComponents } from './CustomizingComponents'; | <mask> import React from 'react';
<mask> import { storiesOf } from '@storybook/react-native';
<mask> import { withKnobs } from '@storybook/addon-knobs';
<mask> import Basic from './Basic';
<mask> import CustomizingBase from './CustomizingBase';
<mask> import CustomizingTheme from './CustomizingTheme';
<mask> imp... | [
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Custom/index.tsx |
export const Example = () => { | <mask> },
<mask> },
<mask> },
<mask> });
<mask> export default function () {
<mask> return (
<mask> <NativeBaseProvider theme={customTheme}>
<mask> <Content />
<mask> </NativeBaseProvider>
<mask> );
</s> fix: updated general examples and also some Icons as well (#3695) </s> remo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Mode/Basic.tsx |
}; | <mask> <NativeBaseProvider theme={customTheme}>
<mask> <Content />
<mask> </NativeBaseProvider>
<mask> );
<mask> }
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove }
</s> add }; </s>... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Mode/Basic.tsx |
export const Example = () => { | <mask> import React from 'react';
<mask> import { NativeBaseProvider, extendTheme } from 'native-base';
<mask> import { Content } from './Content';
<mask>
<mask> export default function () {
<mask> const config = {
<mask> useSystemColorMode: false,
<mask> initialColorMode: 'dark',
<mask> };
<mask... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Mode/DefaultMode.tsx |
}; | <mask> <NativeBaseProvider theme={customTheme}>
<mask> <Content />
<mask> </NativeBaseProvider>
<mask> );
<mask> }
</s> fix: updated general examples and also some Icons as well (#3695) | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Mode/DefaultMode.tsx |
export const Example = () => { | <mask> console.log(e);
<mask> }
<mask> },
<mask> };
<mask> export default function () {
<mask> return (
<mask> <NativeBaseProvider colorModeManager={colorModeManager}>
<mask> <Content />
<mask> </NativeBaseProvider>
<mask> );
</s> fix: updated general examples and also some Icon... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Mode/Persistence.tsx |
}; | <mask> <NativeBaseProvider colorModeManager={colorModeManager}>
<mask> <Content />
<mask> </NativeBaseProvider>
<mask> );
<mask> }
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove }
</s> add }; </s> remove }
... | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Mode/Persistence.tsx |
import { Example as Basic } from './Basic';
import { Example as DefaultMode } from './DefaultMode';
import { Example as Persistence } from './Persistence'; | <mask> import React from 'react';
<mask> import { storiesOf } from '@storybook/react-native';
<mask> import { withKnobs } from '@storybook/addon-knobs';
<mask> import { View, StyleSheet } from 'react-native';
<mask> import Basic from './Basic';
<mask> import DefaultMode from './DefaultMode';
<mask> import Persis... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Mode/index.tsx |
export const Example = () => { | <mask> import React from 'react';
<mask> import { Box } from 'native-base';
<mask> export default () => {
<mask> return (
<mask> <Box bg="red.200" w={['100px', '400px', '560px']}>
<mask> This is a box
<mask> </Box>
<mask> );
</s> fix: updated general examples and also some Icons as well (#369... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/Basic.tsx |
export const Example = () => { | <mask> import React from 'react';
<mask> import { Box, Text, Image, Heading, Stack } from 'native-base';
<mask> export default () => {
<mask> return (
<mask> <Box
<mask> flexDirection={{ base: 'column', md: 'row' }}
<mask> shadow={4}
<mask> rounded="xl"
</s> fix: updated general example... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/Demo.tsx |
export const Example = () => { | <mask> import React from 'react';
<mask> import { Box, Avatar } from 'native-base';
<mask> export default () => {
<mask> return (
<mask> <Box
<mask> justifyContent="space-between"
<mask> alignItems="center"
<mask> w="100%"
</s> fix: updated general examples and also some Icons as well (... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/Direction.tsx |
<mask> flexDirection={{ base: 'column', sm: 'column', md: 'row' }}
<mask> p={4}
<mask> >
<mask> <Avatar
<mask> name="Sanket Sahu"
<mask> borderWidth={1}
<mask> size="xl"
<mask> m={2}
<mask> source={{
<mask> uri:
</s> fix: updated general... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/Direction.tsx | |
<mask> 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg',
<mask> }}
<mask> />
<mask> <Avatar
<mask> name="Gaurav Guha"
<mask> borderWidth={1}
<mask> size="xl"
<mask> m={2}
<mask> source={{
<mask> ur... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/Direction.tsx | |
<mask> 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg',
<mask> }}
<mask> />
<mask> <Avatar
<mask> name="Rohit Singh"
<mask> borderWidth={1}
<mask> size="xl"
<mask> m={2}
<mask> source={{
<mask> ur... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/Direction.tsx | |
<mask> 'https://pbs.twimg.com/profile_images/1260766060401188864/ySJfMIbZ_400x400.jpg',
<mask> }}
<mask> />
<mask> <Avatar
<mask> name="Ankur Kedia"
<mask> borderWidth={1}
<mask> size="xl"
<mask> m={2}
<mask> source={{
<mask> ur... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/Direction.tsx | |
<mask> 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg',
<mask> }}
<mask> />
<mask> <Avatar
<mask> name="Suraj Ahmed"
<mask> borderWidth={1}
<mask> size="xl"
<mask> m={2}
<mask> source={{
<mask> ur... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/Direction.tsx | |
<mask> 'https://pbs.twimg.com/profile_images/983582580372004864/h9ccP0Ea_400x400.jpg',
<mask> }}
<mask> />
<mask> <Avatar
<mask> name="Rehman Baig"
<mask> borderWidth={1}
<mask> size="xl"
<mask> m={2}
<mask> source={{
<mask> uri... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/Direction.tsx | |
export const Example = () => { | <mask> import React from 'react';
<mask> import { Text } from 'native-base';
<mask> export default () => {
<mask> return (
<mask> <Text fontSize={{ base: '24px', md: '40px', lg: '56px' }}>
<mask> This is responsive text
<mask> </Text>
<mask> );
</s> fix: updated general examples and also some... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/FontSize.tsx |
export const Example = () => { | <mask> import React from 'react';
<mask> import { Box } from 'native-base';
<mask> export default () => {
<mask> return (
<mask> <>
<mask> <Box
<mask> height={{
<mask> base: '75%', // 0-768px
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove // exp... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/More.tsx |
import { Example as Basic } from './Basic';
import { Example as FontSize } from './FontSize';
import { Example as Direction } from './Direction';
import { Example as More } from './More';
import { Example as Demo } from './Demo'; | <mask> import React from 'react';
<mask> import { storiesOf } from '@storybook/react-native';
<mask> import { withKnobs } from '@storybook/addon-knobs';
<mask> import Wrapper from './../../components/Wrapper';
<mask> import Basic from './Basic';
<mask> import FontSize from './FontSize';
<mask> import Direction f... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | example/storybook/stories/theme/Responsive/index.tsx |
* The direction of the Stack Items.
* @default row | <mask> }
<mask>
<mask> export interface IButtonGroupProps extends IStackProps {
<mask> /**
<mask> *
<mask> */
<mask> direction?: 'column' | 'row';
<mask> /**
<mask> *
<mask> */
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove *
</s> add * The varian... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | src/components/primitives/Button/types.ts |
* The variant of the button style to use.
* @default 'solid' | <mask> *
<mask> */
<mask> children: JSX.Element | Array<JSX.Element>;
<mask> /**
<mask> *
<mask> */
<mask> variant?: 'ghost' | 'outline' | 'solid' | 'link' | 'unstyled';
<mask> /**
<mask> *
<mask> */
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | src/components/primitives/Button/types.ts |
* The start icon element to use in the button. | <mask> *
<mask> */
<mask> variant?: 'ghost' | 'outline' | 'solid' | 'link' | 'unstyled';
<mask> /**
<mask> *
<mask> */
<mask> size?: 'xs' | 'sm' | 'md' | 'lg';
<mask> /**
<mask> *
<mask> */
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove *
</s>... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | src/components/primitives/Button/types.ts |
* The color of the radio when it's checked. This should be one of the color keys in the theme (e.g."green", "red").
* @default 'primary' | <mask> *
<mask> */
<mask> size?: 'xs' | 'sm' | 'md' | 'lg';
<mask> /**
<mask> *
<mask> */
<mask> colorScheme?: string;
<mask> /**
<mask> *
<mask> */
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove *
</s> add * The start icon element to use i... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | src/components/primitives/Button/types.ts |
* If true, the button will be disabled. | <mask> *
<mask> */
<mask> colorScheme?: string;
<mask> /**
<mask> *
<mask> */
<mask> isDisabled?: boolean;
<mask> /**
<mask> *
<mask> */
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove *
</s> add * If true, button will be atttached together.... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | src/components/primitives/Button/types.ts |
* If true, button will be atttached together. | <mask> *
<mask> */
<mask> isDisabled?: boolean;
<mask> /**
<mask> *
<mask> */
<mask> isAttached?: boolean;
<mask> }
<mask>
<mask> export type IButtonComponentType = ((
</s> fix: updated general examples and also some Icons as well (#3695) </s> remove *
</s> add * If true, the button... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/522f5c8a0f8c8149a6c16a01f6638b3db9101ef0 | src/components/primitives/Button/types.ts |
_webSelect, | <mask> optimized,
<mask> customDropdownIconProps,
<mask> _actionSheetContent,
<mask> _actionSheetBody,
<mask> unstyledSelecWebtStyles,
<mask> ...resolvedProps
<mask> } = usePropsResolution(
<mask> 'Select',
<mask> props,
<mask> {
</s> fix: replaced unstyledSelecWebtStyle... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/53d5e213d6e04a5a78baea729082682701b84477 | src/components/primitives/Select/Select.tsx |
style={_webSelect} | <mask> {...focusProps}
<mask> {...hoverProps}
<mask> ref={mergeRefs([ref, _ref])}
<mask> //@ts-ignore
<mask> style={unstyledSelecWebtStyles}
<mask> onChange={(e) => {
<mask> setValue(e.target.value);
<mask> }}
<mask> value={selectedItem ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/53d5e213d6e04a5a78baea729082682701b84477 | src/components/primitives/Select/Select.tsx |
_webSelect: { | <mask> import { mode } from '../tools';
<mask> export const Select = {
<mask> baseStyle: (props: Record<string, any>) => {
<mask> return {
<mask> unstyledSelecWebtStyles: {
<mask> appearance: 'none',
<mask> WebkitAppearance: 'none',
<mask> MozAppearance: 'none',
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/53d5e213d6e04a5a78baea729082682701b84477 | src/theme/components/select.ts |
import { Example as ToastVariants } from './VariantRecipies'; | <mask> import { storiesOf } from '@storybook/react-native';
<mask> import { withKnobs } from '@storybook/addon-knobs';
<mask> import Wrapper from '../../Wrapper';
<mask> import { Example as ToastPositions } from './ToastPositions';
<mask> import { Example as Basic } from './Basic';
<mask> import { Example as Clos... | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/53f8f2f80f254e45a472f8d8f64ebcae4bee0b61 | example/storybook/stories/components/composites/Toast/index.tsx |
import { Example as ToastStatus } from './StatusRecipies'; | <mask> import { Example as CustomComponentWithCustomId } from './CustomComponentWithCustomId';
<mask> import { Example as PreventDuplicate } from './PreventDuplicate';
<mask> import { Example as StandaloneToast } from './StandaloneToast';
<mask>
<mask> storiesOf('Toast', module)
<mask> .addDecorator(withKnobs)... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/53f8f2f80f254e45a472f8d8f64ebcae4bee0b61 | example/storybook/stories/components/composites/Toast/index.tsx |
.add('Status Recipies', () => <ToastStatus />)
.add('Variants Recipies', () => <ToastVariants />) | <mask> .add('Custom Component with custom Id', () => <CustomComponentWithCustomId />)
<mask> .add('CloseToast', () => <CloseToast />)
<mask> .add('Prevent Duplicate', () => <PreventDuplicate />)
<mask> .add('Toast Ref', () => <StandaloneToast />);
</s> fix: design changes and status and variant recipies </... | [
"keep",
"keep",
"add",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/53f8f2f80f254e45a472f8d8f64ebcae4bee0b61 | example/storybook/stories/components/composites/Toast/index.tsx |
bg: mode(`muted.700`, `muted.600`)(props), | <mask>
<mask> const baseStyle = (props: Record<string, any>) => {
<mask> // NOTE: Internal pseudo props like _stack, _overlay nad _presenceTransition can only be update by the theme.
<mask> return {
<mask> bg: mode(`coolGray.600`, `warmGray.200`)(props),
<mask> p: '2',
<mask> rounded: 'sm',
<ma... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/53f8f2f80f254e45a472f8d8f64ebcae4bee0b61 | src/theme/components/toast.ts |
shadow: 6, | <mask> return {
<mask> bg: mode(`coolGray.600`, `warmGray.200`)(props),
<mask> p: '2',
<mask> rounded: 'sm',
<mask> shadow: 1,
<mask> // The stack in which toast are being rendered
<mask> _stack: {
<mask> margin: 'auto',
<mask> position: 'absolute',
<mask> space: 2,... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/53f8f2f80f254e45a472f8d8f64ebcae4bee0b61 | src/theme/components/toast.ts |
import { Input, KeyboardAvoidingView, Text, Button, VStack } from 'native-base';
import { Platform } from 'react-native';
| <mask> import React from 'react';
<mask> import {
<mask> Input,
<mask> KeyboardAvoidingView,
<mask> View,
<mask> Text,
<mask> Button,
<mask> VStack,
<mask> useBreakpointValue,
<mask> } from 'native-base';
<mask> export const Example = () => {
<mask> const isLargeScreen = useBreakpointValue({... | [
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/5437af900b29a2c234adac5c4f84b2c1d14a8e00 | example/storybook/stories/components/basic/KeyboardAvoidingView/Basic.tsx |
<mask> VStack,
<mask> useBreakpointValue,
<mask> } from 'native-base';
<mask> export const Example = () => {
<mask> const isLargeScreen = useBreakpointValue({
<mask> base: false,
<mask> sm: false,
<mask> md: false,
<mask> lg: true,
<mask> });
<mask> return (
<mask> <KeyboardAvo... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/5437af900b29a2c234adac5c4f84b2c1d14a8e00 | example/storybook/stories/components/basic/KeyboardAvoidingView/Basic.tsx | |
{Platform.OS === 'web' ? ( | <mask> lg: true,
<mask> });
<mask> return (
<mask> <KeyboardAvoidingView h={{ base: '600px', lg: 'auto' }}>
<mask> {isLargeScreen ? (
<mask> <Text>Please see the example in your mobile to observe the effect</Text>
<mask> ) : (
<mask> <VStack p={6} flex={1} justifyContent=... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/5437af900b29a2c234adac5c4f84b2c1d14a8e00 | example/storybook/stories/components/basic/KeyboardAvoidingView/Basic.tsx |
<Button variant="solid">Submit</Button> | <mask> borderBottomWidth="1px"
<mask> mb={9}
<mask> mt="auto"
<mask> />
<mask> <View bg="white" mt={3}>
<mask> <Button variant="solid">Submit</Button>
<mask> </View>
<mask> </VStack>
<mask> )}
<mask> </KeyboardAvoi... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/5437af900b29a2c234adac5c4f84b2c1d14a8e00 | example/storybook/stories/components/basic/KeyboardAvoidingView/Basic.tsx |
import { Avatar, HStack } from 'native-base'; | <mask> import React from 'react';
<mask> import { Avatar, HStack, AvatarBadge } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <HStack>
<mask> <Avatar
</s> feat: avatarBadge and avatarGroup changed </s> remove import { Avatar, AvatarGroup } from 'native-base';... | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx |
<Avatar.Badge bg={'red.200'} /> | <mask> <Avatar
<mask> source={{ uri: 'https://nativebase.io/assets/img/front-page-icon.png' }}
<mask> name={'Native Base'}
<mask> >
<mask> <AvatarBadge bg={'red.200'} />
<mask> </Avatar>
<mask> <Avatar
<mask> source={{ uri: 'https://nativebase.io/assets/im... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx |
<Avatar.Badge borderColor="papayawhip" bg="tomato" /> | <mask> <Avatar
<mask> source={{ uri: 'https://nativebase.io/assets/img/front-page-icon.png' }}
<mask> name={'Native Base'}
<mask> >
<mask> <AvatarBadge borderColor="papayawhip" bg="tomato" />
<mask> </Avatar>
<mask> </HStack>
<mask> );
<mask> }
</s> feat: avatar... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx |
import { Avatar } from 'native-base'; | <mask> import React from 'react';
<mask> import { Avatar, AvatarGroup } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <AvatarGroup size="lg" max={4}>
<mask> <Avatar
</s> feat: avatarBadge and avatarGroup changed </s> remove <AvatarGroup size="lg" max={4}>... | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | example/storybook/stories/components/composites/Avatar/AvatarGroup.tsx |
<Avatar.Group size="lg" max={4}> | <mask> import { Avatar, AvatarGroup } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <AvatarGroup size="lg" max={4}>
<mask> <Avatar
<mask> name="Sanket Sahu"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/pro... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | example/storybook/stories/components/composites/Avatar/AvatarGroup.tsx |
</Avatar.Group> | <mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg',
<mask> }}
<mask> />
<mask> </AvatarGroup>
<mask> );
<mask> }
</s> feat: avatarBadge and avatarGroup changed </s> remove <AvatarBadge borderColor="papayawhip" bg="... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | example/storybook/stories/components/composites/Avatar/AvatarGroup.tsx |
import AvatarBadge from './Badge';
import AvatarGroup from './Group'; | <mask> import { Box, Image, Text } from '../../primitives';
<mask> import { useThemeProps } from '../../../hooks';
<mask> import type { IAvatarProps } from './types';
<mask>
<mask> const initials = (name: string) => {
<mask> const [firstName, lastName] = name.split(' ');
<mask> return firstName && lastName
... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | src/components/composites/Avatar/Avatar.tsx |
Avatar.Badge = React.memo(AvatarBadge);
Avatar.Group = React.memo(AvatarGroup);
export default Avatar; | <mask> {children}
<mask> </StyledAvatar>
<mask> );
<mask> };
<mask>
<mask> export default React.memo(Avatar);
</s> feat: avatarBadge and avatarGroup changed </s> remove </AvatarGroup>
</s> add </Avatar.Group> </s> remove <AvatarBadge borderColor="papayawhip" bg="tomato" />
</s> add... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | src/components/composites/Avatar/Avatar.tsx |
<mask> export { default as Avatar } from './Avatar';
<mask> export { default as AvatarBadge } from './Badge';
<mask> export { default as AvatarGroup } from './Group';
<mask> export type { IAvatarProps, IAvatarBadgeProps } from './types';
</s> feat: avatarBadge and avatarGroup changed </s> remove export { Avatar, A... | [
"keep",
"replace",
"replace",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | src/components/composites/Avatar/index.tsx | |
export { Avatar } from './Avatar'; | <mask>
<mask> export { Alert, AlertTitle, AlertDescription, AlertIcon } from './Alert';
<mask> export type { IAlertProps } from './Alert';
<mask>
<mask> export { Avatar, AvatarBadge, AvatarGroup } from './Avatar';
<mask>
<mask> export {
<mask> default as Breadcrumb,
<mask> BreadcrumbItem,
<mask> Brea... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | src/components/composites/index.ts |
<mask> IAlertProps,
<mask> AspectRatio,
<mask> IAspectRatioProps,
<mask> Avatar,
<mask> AvatarBadge,
<mask> AvatarGroup,
<mask> Breadcrumb,
<mask> BreadcrumbItem,
<mask> BreadcrumbLink,
<mask> IBreadcrumbProps,
<mask> CloseButton,
</s> feat: avatarBadge and avatarGroup changed </s> rem... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | src/index.tsx | |
<mask> AlertDescription,
<mask> AlertIcon,
<mask> AspectRatio,
<mask> Avatar,
<mask> AvatarBadge,
<mask> AvatarGroup,
<mask> Badge,
<mask> Button,
<mask> ButtonGroup,
<mask> IconButton,
<mask> Heading,
</s> feat: avatarBadge and avatarGroup changed </s> remove AvatarBadge,
AvatarGr... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54842f24bf9d82399222798de21aee45f23d7abc | src/index.tsx | |
/**
*
* @param props
* @returns resolved fontFamily
* @description Combination of fontWeight, fontStyle and font family is fully supported on web but on Android we need to pass the exact font family.
* for e.g. If we load Roboto-Light-Italic.ttf using css, we can use fontFamily: Roboto, fontWeight: 300, fontStyle:... | <mask> import { useTheme } from './useTheme';
<mask>
<mask> type IUseResolvedFontFamily = {
<mask> fontFamily: string;
<mask> fontStyle: string;
<mask> fontWeight: string | number;
<mask> };
<mask>
</s> fix: add comments in font family resolver </s> remove };
// Android doesn't support fontWeight or f... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/549b1c40c22f00ffa771675acd600d6436c6d2a3 | src/hooks/useResolvedFontFamily.ts |
}) { | <mask> type IUseResolvedFontFamily = {
<mask> fontFamily: string;
<mask> fontStyle: string;
<mask> fontWeight: string | number;
<mask> };
<mask>
<mask> // Android doesn't support fontWeight or fontStyle properties. So, we pass fontFamily instead.
<mask> export function useResolvedFontFamily(props: IUseRe... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/549b1c40c22f00ffa771675acd600d6436c6d2a3 | src/hooks/useResolvedFontFamily.ts |
<mask> const { fontConfig, fontWeights, fonts } = useTheme();
<mask> if (fontFamily in fonts) {
<mask> const fontToken = fonts[fontFamily];
<mask> if (fontConfig && fontConfig[fontToken]) {
<mask> // fontWeights are also specified using "400"
<mask> const parsedFontWeight = parseInt(fontWe... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/549b1c40c22f00ffa771675acd600d6436c6d2a3 | src/hooks/useResolvedFontFamily.ts | |
return <Text style={this.getTextStyle()}>{(Platform.OS==='ios' || !this.props.capitalize) ? this.props.children : this.props.children.toUpperCase()}</Text>
| <mask> return iconComponentPresent;
<mask> }
<mask> renderChildren() {
<mask> if(typeof this.props.children == 'string') {
<mask> return <Text style={this.getTextStyle()}>{(Platform.OS==='ios') ? this.props.children : this.props.children.toUpperCase()}</Text>
<mask> }
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54d0121407d42be322a882635ae2955152456e94 | Components/Widgets/Button.js |
newChildren.push(<Text key='label' style={this.getTextStyle()}>{(Platform.OS==='ios' || !this.props.capitalize) ? childrenArray[0] : childrenArray[0].toUpperCase()}</Text>);
| <mask> });
<mask>
<mask> if(this.props.iconRight) {
<mask> if (childrenArray[0].type==undefined) {
<mask> newChildren.push(<Text key='label' style={this.getTextStyle()}>{(Platform.OS==='ios') ? childrenArray[0] : childrenArray[0].toUpperCase()}</Text>);
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54d0121407d42be322a882635ae2955152456e94 | Components/Widgets/Button.js |
capitalize: false, | <mask> newChildren.push(React.cloneElement(child, {
<mask> style: this.getInitialStyle().btnStyle,
<mask> vertical: true,
<mask> transparent:true,
<mask> textStyle: (child.props.active) ? this.getInitialStyle().btnStrin... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/54d0121407d42be322a882635ae2955152456e94 | Components/Widgets/FooterTab.js |
<Heading>Adding Spacer</Heading>
<Flex h={40} w={20} mt={6}> | <mask>
<mask> export const SpacerExample = () => {
<mask> return (
<mask> <Center flex={1}>
<mask> <Heading mb={3}>Adding Spacer</Heading>
<mask> <Flex h={56} w={20}>
<mask> <Center
<mask> size={16}
<mask> bg="primary.400"
<mask> rounded="xl"
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903 | example/storybook/stories/components/primitives/Flex/spacer.tsx |
<Icon name="check" /> | <mask>
<mask> export default function () {
<mask> return (
<mask> <>
<mask> <Icon type="Ionicons" name="md-checkmark-circle" />
<mask> </>
<mask> );
<mask> }
</s> fix: changes in few components </s> remove import { Rect, Path, Circle } from 'react-native-svg';
</s> add import { Svg, Path, G... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903 | example/storybook/stories/components/primitives/Icon/Basic.tsx |
import { Svg, Path, G } from 'react-native-svg'; | <mask> import React from 'react';
<mask> import { Icon } from 'native-base';
<mask> import { Rect, Path, Circle } from 'react-native-svg';
<mask> export default function () {
<mask> return (
<mask> <Icon viewBox="0 0 200 200" color="blue.300" size={12} strokeWidth="10">
<mask> <Rect x="10" y="15" wid... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903 | example/storybook/stories/components/primitives/Icon/CustomIcon.tsx |
<Icon width="870px" height="873px" viewBox="0 0 870 873">
<G fillRule="nonzero" stroke="none" strokeWidth={1} fill="none">
<Path
d="M435 .1C194.8.1.1 194.8.1 435c0 187.3 118.4 346.9 284.4 408.1 3.3-29.9 15-57.2 32.7-79.6 12.1-15.4 26.9-28.5 43.9-38.4 2.1-5 4.6-10.6 7.1-16.6-50.3-26-84.7-78.1... | <mask> import { Icon } from 'native-base';
<mask> import { Rect, Path, Circle } from 'react-native-svg';
<mask> export default function () {
<mask> return (
<mask> <Icon viewBox="0 0 200 200" color="blue.300" size={12} strokeWidth="10">
<mask> <Rect x="10" y="15" width="200" height="200" fill="yellow.... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903 | example/storybook/stories/components/primitives/Icon/CustomIcon.tsx |
<Image
source={{
uri: 'https://wallpaperaccess.com/full/317501.jpg',
}}
alt="Alternate Text"
/> | <mask> import React from 'react';
<mask> import { Box, Image } from 'native-base';
<mask> export default function () {
<mask> return (
<mask> <Box size={200}>
<mask> <Image
<mask> source={{
<mask> uri: 'https://wallpaperaccess.com/full/317501.jpg',
<mask> }}
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903 | example/storybook/stories/components/primitives/Image/Basic.tsx |
import { VStack, Image } from 'native-base'; | <mask> import React from 'react';
<mask> import { HStack, Image } from 'native-base';
<mask> export default function () {
<mask> return (
<mask> <HStack alignItems="center" space={2}>
<mask> <Image
<mask> size={12}
</s> fix: changes in few components </s> remove <HStack alignItems="cente... | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903 | example/storybook/stories/components/primitives/Image/Sizes.tsx |
<VStack space={2} alignItems="center">
{['xs', 'sm', 'md', 'lg', 'xl', '2xl'].map((size) => (
<Image
size={size}
resizeMode="cover"
source={{
uri: 'https://wallpaperaccess.com/full/317501.jpg',
}}
alt={'Alternate Text ' + size}
/>
... | <mask> import React from 'react';
<mask> import { HStack, Image } from 'native-base';
<mask> export default function () {
<mask> return (
<mask> <HStack alignItems="center" space={2}>
<mask> <Image
<mask> size={12}
<mask> resizeMode="cover"
<mask> source={{
<mask> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"re... | https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903 | example/storybook/stories/components/primitives/Image/Sizes.tsx |
import { Center, Row } from 'native-base'; | <mask> import React from 'react';
<mask> import { Row, Text } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <Row>
<mask> <Text>Test Text</Text>
</s> fix: changes in few components </s> remove <Row>
<Text>Test Text</Text>
<Text>Testing this tex... | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903 | example/storybook/stories/components/primitives/Row/Basic.tsx |
<Row space={2}>
<Center
size={16}
bg="primary.400"
rounded="md"
_text={{ color: 'white' }}
shadow={3}
>
Box 1
</Center>
<Center
bg="secondary.400"
size={16}
rounded="md"
_text={{ color: 'white' }}
shadow=... | <mask> import { Row, Text } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <Row>
<mask> <Text>Test Text</Text>
<mask> <Text>Testing this text with Row</Text>
<mask> </Row>
<mask> );
<mask> }
</s> fix: changes in few components </s> remove import... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903 | example/storybook/stories/components/primitives/Row/Basic.tsx |
'2xs': { size: 6 },
'xs': { size: 10 },
'sm': { size: 16 },
'md': { size: 20 },
'lg': { size: 24 },
'xl': { size: 32 },
'2xl': { size: 64 }, | <mask> // Image
<mask> const sizes = {
<mask> '2xs': { size: 4 },
<mask> 'xs': { size: 6 },
<mask> 'sm': { size: 8 },
<mask> 'md': { size: 12 },
<mask> 'lg': { size: 16 },
<mask> 'xl': { size: 24 },
<mask> '2xl': { size: 32 },
<mask> 'full': { size: '100%' },
<mask> };
<mask>
<mask> export... | [
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903 | src/theme/components/image.ts |
size: 'md', | <mask> maxWidth: '100%',
<mask> },
<mask> sizes,
<mask> defaultProps: {
<mask> size: 'full',
<mask> },
<mask> };
</s> fix: changes in few components </s> remove '2xs': { size: 4 },
'xs': { size: 6 },
'sm': { size: 8 },
'md': { size: 12 },
'lg': { size: 16 },
'xl': { size: 24 },
'2x... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55801cb1aed82959b66d7a10f0e5169320203903 | src/theme/components/image.ts |
visible, | <mask> contentSize,
<mask> initialFocusRef,
<mask> finalFocusRef,
<mask> };
<mask> }, [handleClose, contentSize, initialFocusRef, finalFocusRef, visible]);
<mask>
<mask> //TODO: refactor for responsive prop
<mask> if (useHasResponsiveProps(rest)) {
<mask> return null;
</s> fix... | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55a4dd8230475366159b3716003c2995e1704c78 | src/components/composites/Modal/Modal.tsx |
}, [handleClose, contentSize, initialFocusRef, finalFocusRef, visible]); | <mask> contentSize,
<mask> initialFocusRef,
<mask> finalFocusRef,
<mask> };
<mask> }, [handleClose, contentSize, initialFocusRef, finalFocusRef]);
<mask>
<mask> //TODO: refactor for responsive prop
<mask> if (useHasResponsiveProps(rest)) {
<mask> return null;
<mask> }
</s> ... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55a4dd8230475366159b3716003c2995e1704c78 | src/components/composites/Modal/Modal.tsx |
visible, | <mask> finalFocusRef,
<mask> handleClose,
<mask> } = React.useContext(ModalContext);
<mask> React.useEffect(() => {
<mask> const finalRefVal = finalFocusRef ? finalFocusRef.current : null;
<mask> if (visible) {
<mask> if (initialFocusRef && initialFocusRef.current) {
</s> fix: modal in... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55a4dd8230475366159b3716003c2995e1704c78 | src/components/composites/Modal/ModalContent.tsx |
if (visible) {
if (initialFocusRef && initialFocusRef.current) {
//@ts-ignore
initialFocusRef.current.focus();
}
} else { | <mask> handleClose,
<mask> } = React.useContext(ModalContext);
<mask> React.useEffect(() => {
<mask> const finalRefVal = finalFocusRef ? finalFocusRef.current : null;
<mask> if (initialFocusRef && initialFocusRef.current) {
<mask> //@ts-ignore
<mask> initialFocusRef.current.focus();
... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55a4dd8230475366159b3716003c2995e1704c78 | src/components/composites/Modal/ModalContent.tsx |
}
}, [initialFocusRef, finalFocusRef, visible]); | <mask> if (finalRefVal) {
<mask> //@ts-ignore
<mask> finalRefVal.focus();
<mask> }
<mask> };
<mask> }, [initialFocusRef, finalFocusRef]);
<mask>
<mask> //TODO: refactor for responsive prop
<mask> if (useHasResponsiveProps(props)) {
<mask> return null;
<mask> }
</... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/55a4dd8230475366159b3716003c2995e1704c78 | src/components/composites/Modal/ModalContent.tsx |
import { MaterialIcons } from '@expo/vector-icons'; | <mask> import React from 'react';
<mask> import { Input, Icon, useColorModeValue } from 'native-base';
<mask>
<mask> export const Example = () => {
<mask> return (
<mask> <Input
</s> Fix/v3 icon focus issue (#3697)
* fix: icon focus fix
* fix: local Icons focus fix
* fix: props order for priority <... | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6 | example/storybook/stories/components/primitives/Input/Elements.tsx |
as={<MaterialIcons name="phone" />} | <mask> return (
<mask> <Input
<mask> InputLeftElement={
<mask> <Icon
<mask> name="phone"
<mask> size="md"
<mask> type="MaterialIcons"
<mask> m={2}
<mask> color={useColorModeValue('black', 'gray.300')}
<mask> />
</s> Fix/v3 icon foc... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6 | example/storybook/stories/components/primitives/Input/Elements.tsx |
<mask> InputLeftElement={
<mask> <Icon
<mask> name="phone"
<mask> size="md"
<mask> type="MaterialIcons"
<mask> m={2}
<mask> color={useColorModeValue('black', 'gray.300')}
<mask> />
<mask> }
<mask> InputRightElement={
</s> Fix... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6 | example/storybook/stories/components/primitives/Input/Elements.tsx | |
as={<MaterialIcons name="person" />} | <mask> />
<mask> }
<mask> InputRightElement={
<mask> <Icon
<mask> name="person"
<mask> size="md"
<mask> type="MaterialIcons"
<mask> m={2}
<mask> color={useColorModeValue('black', 'gray.300')}
<mask> />
</s> Fix/v3 icon focu... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6 | example/storybook/stories/components/primitives/Input/Elements.tsx |
<mask> InputRightElement={
<mask> <Icon
<mask> name="person"
<mask> size="md"
<mask> type="MaterialIcons"
<mask> m={2}
<mask> color={useColorModeValue('black', 'gray.300')}
<mask> />
<mask> }
<mask> placeholder="Left and Right... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6 | example/storybook/stories/components/primitives/Input/Elements.tsx | |
import { G, Polygon } from '../nbSvg'; | <mask> import React from 'react';
<mask> import { createIcon } from '../createIcon';
<mask> import { G, Polygon } from 'react-native-svg';
<mask>
<mask> export const CheckIcon = createIcon({
<mask> viewBox: '0 0 14 14',
<mask> path: (
<mask> <G fill="currentColor">
</s> Fix/v3 icon focus issue (#3697)... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6 | src/components/primitives/Icon/Icons/Check.tsx |
import { Path } from '../nbSvg'; | <mask> import React from 'react';
<mask> import { createIcon } from '../createIcon';
<mask> import { Path } from 'react-native-svg';
<mask>
<mask> export const CloseIcon = createIcon({
<mask> viewBox: '0 0 24 24',
<mask> d:
<mask> 'M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6 | src/components/primitives/Icon/Icons/Close.tsx |
import { G, Line, Circle } from '../nbSvg'; | <mask> import React from 'react';
<mask> import { createIcon } from '../createIcon';
<mask> import { G, Line, Circle } from 'react-native-svg';
<mask>
<mask> export const InfoOutlineIcon = createIcon({
<mask> viewBox: '0 0 24 24',
<mask> path: (
<mask> <G
</s> Fix/v3 icon focus issue (#3697)
* fix: i... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6 | src/components/primitives/Icon/Icons/Info.tsx |
import { G, Rect } from '../nbSvg'; | <mask> import React from 'react';
<mask> import { createIcon } from '../createIcon';
<mask> import { G, Rect } from 'react-native-svg';
<mask>
<mask> export const MinusIcon = createIcon({
<mask> path: (
<mask> <G fill="currentColor">
<mask> <Rect height="4" width="20" x="2" y="10" />
</s> Fix/v3 i... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6 | src/components/primitives/Icon/Icons/Minus.tsx |
import { G, Path, Circle } from '../nbSvg'; | <mask> import React from 'react';
<mask> import { createIcon } from '../createIcon';
<mask> import { G, Path, Circle } from 'react-native-svg';
<mask>
<mask> export const QuestionIcon = createIcon({
<mask> viewBox: '0 0 24 24',
<mask> d:
<mask> 'M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm0,19a1.... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6 | src/components/primitives/Icon/Icons/Question.tsx |
import { G, Path, Circle } from '../nbSvg'; | <mask> import React from 'react';
<mask> import { createIcon } from '../createIcon';
<mask> import { G, Path, Circle } from 'react-native-svg';
<mask>
<mask> export const SunIcon = createIcon({
<mask> viewBox: '0 0 24 24',
<mask> path: (
<mask> <G
</s> Fix/v3 icon focus issue (#3697)
* fix: icon focu... | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/56d3212d62d8a94b02c77b97c98b487afaab8ff6 | src/components/primitives/Icon/Icons/Sun.tsx |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.