Skip to content

Commit 6d53c5a

Browse files
committed
refactor: more import alias
1 parent 7284f96 commit 6d53c5a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/components/MaterialCommunityIcon.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from 'react';
22
import { ComponentProps } from 'react';
33
import { StyleSheet, Text, Platform, Role, ViewProps } from 'react-native';
44

5-
import { black } from '../styles/themes/v2/colors';
5+
import { black } from '@/styles/themes/v2/colors';
66

77
export type IconProps = {
88
name: ComponentProps<typeof MaterialCommunityIcons>['name'];

src/components/__tests__/SegmentedButton.test.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ import * as React from 'react';
33
import { render } from '@testing-library/react-native';
44
import color from 'color';
55

6-
import { getTheme } from '@/core/theming';
7-
import { black } from '@/styles/themes/v2/colors';
8-
9-
import SegmentedButtons from '../SegmentedButtons/SegmentedButtons';
6+
import SegmentedButtons from '@/components/SegmentedButtons/SegmentedButtons';
107
import {
118
getDisabledSegmentedButtonStyle,
129
getSegmentedButtonColors,
13-
} from '../SegmentedButtons/utils';
10+
} from '@/components/SegmentedButtons/utils';
11+
import { getTheme } from '@/core/theming';
12+
import { black } from '@/styles/themes/v2/colors';
1413

1514
it('renders segmented button', () => {
1615
const tree = render(

0 commit comments

Comments
 (0)