Skip to content

Commit

Permalink
🛠 Refactor: Example - Move to src/components/Card
Browse files Browse the repository at this point in the history
Summary: Move `CardButton` from `example/src/components` to `example/src/components/Card`.
  • Loading branch information
dominicstop committed Aug 25, 2022
1 parent a2d16a0 commit b025e5f
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { StyleSheet, Text, TouchableOpacity, TouchableOpacityProps } from 'react-native';

import * as Colors from '../constants/Colors';
import * as Colors from '../../constants/Colors';


export function CardButton(props: TouchableOpacityProps & {
Expand Down
2 changes: 1 addition & 1 deletion example/src/examples/PopoverViewExample01.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { StyleSheet, View, Text } from 'react-native';

import { PopoverView } from 'react-native-ios-popover';

import { CardButton } from '../components/CardButton';
import { CardButton } from '../components/Card/CardButton';
import { ExampleItemCard } from '../components/ExampleItemCard';

import type { SharedExampleProps } from './SharedExampleTypes';
Expand Down
2 changes: 1 addition & 1 deletion example/src/examples/PopoverViewExample02.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { StyleSheet, View, Text } from 'react-native';

import { PopoverArrowDirections, PopoverView } from 'react-native-ios-popover';

import { CardButton } from '../components/CardButton';
import { CardButton } from '../components/Card/CardButton';
import { ExampleItemCard } from '../components/ExampleItemCard';

import type { SharedExampleProps } from './SharedExampleTypes';
Expand Down
2 changes: 1 addition & 1 deletion example/src/examples/PopoverViewExample03.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { StyleSheet, View, Text } from 'react-native';

import { PopoverView } from 'react-native-ios-popover';

import { CardButton } from '../components/CardButton';
import { CardButton } from '../components/Card/CardButton';
import { ExampleItemCard } from '../components/ExampleItemCard';

import type { SharedExampleProps } from './SharedExampleTypes';
Expand Down
2 changes: 1 addition & 1 deletion example/src/examples/PopoverViewExample04.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useRef } from 'react';
import { StyleSheet, View, Text } from 'react-native';

import { PopoverView } from 'react-native-ios-popover';
import { CardButton } from '../components/CardButton';
import { CardButton } from '../components/Card/CardButton';
import { ExampleItemCard } from '../components/ExampleItemCard';

import type { SharedExampleProps } from './SharedExampleTypes';
Expand Down
2 changes: 1 addition & 1 deletion example/src/examples/PopoverViewExample05.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { StyleSheet, View, Text, TouchableOpacity, Alert } from 'react-native';

import { PopoverView } from 'react-native-ios-popover';

import { CardButton } from '../components/CardButton';
import { CardButton } from '../components/Card/CardButton';
import { ExampleItemCard } from '../components/ExampleItemCard';

import type { SharedExampleProps } from './SharedExampleTypes';
Expand Down
2 changes: 1 addition & 1 deletion example/src/examples/PopoverViewExample06.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { StyleSheet, View, Text, Alert } from 'react-native';

import { PopoverView } from 'react-native-ios-popover';

import { CardButton } from '../components/CardButton';
import { CardButton } from '../components/Card/CardButton';
import { ExampleItemCard } from '../components/ExampleItemCard';

import type { SharedExampleProps } from './SharedExampleTypes';
Expand Down
2 changes: 1 addition & 1 deletion example/src/examples/PopoverViewExample07.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { StyleSheet, View, Text, Switch, Alert } from 'react-native';

import { PopoverView } from 'react-native-ios-popover';

import { CardButton } from '../components/CardButton';
import { CardButton } from '../components/Card/CardButton';
import { ExampleItemCard } from '../components/ExampleItemCard';

import type { SharedExampleProps } from './SharedExampleTypes';
Expand Down
2 changes: 1 addition & 1 deletion example/src/examples/PopoverViewExample08.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { StyleSheet, View, Text } from 'react-native';

import { PopoverView } from 'react-native-ios-popover';

import { CardButton } from '../components/CardButton';
import { CardButton } from '../components/Card/CardButton';
import { ExampleItemCard } from '../components/ExampleItemCard';

import type { SharedExampleProps } from './SharedExampleTypes';
Expand Down

0 comments on commit b025e5f

Please sign in to comment.