Skip to content

Commit e951042

Browse files
authored
Merge pull request #172 from team-ppointer/refactor/native/161
Refactor/native/161 (hotfix)
2 parents 9276be0 + 3158841 commit e951042

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

apps/native/src/components/system/icons/ScrapDefalutIcon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Svg, Rect, Path, G, Defs, ClipPath } from 'react-native-svg';
33
import type { LucideIcon, LucideProps } from 'lucide-react-native';
44
import { StyleSheet } from 'react-native';
55

6-
const ScrapDefalutIcon = React.forwardRef<React.ComponentRef<typeof Svg>, LucideProps>(
6+
const ScrapDefaultIcon = React.forwardRef<React.ComponentRef<typeof Svg>, LucideProps>(
77
({ size = 124, style, ...rest }, ref) => {
88
// style에 width나 height가 있으면 size를 무시
99
const flattenedStyle = StyleSheet.flatten(style);
@@ -36,4 +36,4 @@ const ScrapDefalutIcon = React.forwardRef<React.ComponentRef<typeof Svg>, Lucide
3636
}
3737
) as LucideIcon;
3838

39-
export default ScrapDefalutIcon;
39+
export default ScrapDefaultIcon;

apps/native/src/components/system/icons/ScrapFolderDefalutIcon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Svg, Rect, Path } from 'react-native-svg';
33
import type { LucideIcon, LucideProps } from 'lucide-react-native';
44
import { StyleSheet } from 'react-native';
55

6-
const ScrapFolderDefalutIcon = React.forwardRef<React.ComponentRef<typeof Svg>, LucideProps>(
6+
const ScrapFolderDefaultIcon = React.forwardRef<React.ComponentRef<typeof Svg>, LucideProps>(
77
({ size = 124, style, ...rest }, ref) => {
88
// style에 width나 height가 있으면 size를 무시
99
const flattenedStyle = StyleSheet.flatten(style);
@@ -27,4 +27,4 @@ const ScrapFolderDefalutIcon = React.forwardRef<React.ComponentRef<typeof Svg>,
2727
}
2828
) as LucideIcon;
2929

30-
export default ScrapFolderDefalutIcon;
30+
export default ScrapFolderDefaultIcon;

apps/native/src/components/system/icons/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import KakaoIcon from './KakaoIcon';
2424
import AppleIcon from './AppleIcon';
2525
import CircleCheckDashed from './CircleCheckDashed';
2626
import CircleXFilledIcon from './CircleXFilledIcon';
27-
import ScrapDefalutIcon from './ScrapDefalutIcon';
28-
import ScrapFolderDefalutIcon from './ScrapFolderDefalutIcon';
27+
import ScrapDefaultIcon from './ScrapDefalutIcon';
28+
import ScrapFolderDefaultIcon from './ScrapFolderDefalutIcon';
2929

3030
export {
3131
AlertBellButtonIcon,
@@ -53,7 +53,7 @@ export {
5353
AppleIcon,
5454
GoogleIcon,
5555
KakaoIcon,
56-
ScrapDefalutIcon,
57-
ScrapFolderDefalutIcon,
56+
ScrapDefaultIcon,
57+
ScrapFolderDefaultIcon,
5858
CircleXFilledIcon,
5959
};

apps/native/src/features/student/scrap/components/Card/cards/ScrapCard.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import React from 'react';
33
import { Check } from 'lucide-react-native';
44
import {
55
ChevronDownFilledIcon,
6-
ScrapDefalutIcon,
7-
ScrapFolderDefalutIcon,
6+
ScrapDefaultIcon,
7+
ScrapFolderDefaultIcon,
88
} from '@/components/system/icons';
99
import { TooltipPopover, ItemTooltipBox } from '../../Tooltip';
1010
import { StudentRootStackParamList } from '@/navigation/student/types';
@@ -40,13 +40,13 @@ export const ScrapCard = (props: ScrapListItemProps) => {
4040
if (props.type === 'FOLDER') {
4141
return (
4242
<View className='aspect-square w-full overflow-hidden rounded-[10px]'>
43-
<ScrapFolderDefalutIcon style={{ width: '100%', height: '100%' }} />
43+
<ScrapFolderDefaultIcon style={{ width: '100%', height: '100%' }} />
4444
</View>
4545
);
4646
} else if (props.type === 'SCRAP') {
4747
return (
4848
<View className='aspect-square w-full overflow-hidden rounded-[10px]'>
49-
<ScrapDefalutIcon style={{ width: '100%', height: '100%' }} />
49+
<ScrapDefaultIcon style={{ width: '100%', height: '100%' }} />
5050
</View>
5151
);
5252
}

apps/native/src/features/student/scrap/components/Card/cards/TrashCard.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import React, { useState } from 'react';
33
import { Check } from 'lucide-react-native';
44
import {
55
ChevronDownFilledIcon,
6-
ScrapDefalutIcon,
7-
ScrapFolderDefalutIcon,
6+
ScrapDefaultIcon,
7+
ScrapFolderDefaultIcon,
88
} from '@/components/system/icons';
99
import { TooltipPopover, TrashItemTooltipBox } from '../../Tooltip';
1010
import { ConfirmationModal, PopUpModal } from '../../Dialog';
@@ -44,13 +44,13 @@ export const TrashCard = (props: TrashListItemProps) => {
4444
if (props.type === 'FOLDER') {
4545
return (
4646
<View className='aspect-square w-full overflow-hidden rounded-[10px]'>
47-
<ScrapFolderDefalutIcon style={{ width: '100%', height: '100%' }} />
47+
<ScrapFolderDefaultIcon style={{ width: '100%', height: '100%' }} />
4848
</View>
4949
);
5050
} else if (props.type === 'SCRAP') {
5151
return (
5252
<View className='aspect-square w-full overflow-hidden rounded-[10px]'>
53-
<ScrapDefalutIcon style={{ width: '100%', height: '100%' }} />
53+
<ScrapDefaultIcon style={{ width: '100%', height: '100%' }} />
5454
</View>
5555
);
5656
}

0 commit comments

Comments
 (0)