Skip to content

Commit 4aed139

Browse files
committed
refactor(Folder organization): Directory structure
- Move all examples within examples folder - Configure tsconfig to allow absolute paths for library imports
1 parent 9037a6b commit 4aed139

File tree

33 files changed

+11
-10
lines changed

33 files changed

+11
-10
lines changed

src/components/elements/Button/index.tsx renamed to src/examples/components/elements/Button/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import 'antd/lib/button/style/css';
88

99
import {
1010
withTracking,
11-
} from '../../../library/user-analytics/react/components/withTracking';
11+
} from 'library/react/components/withTracking';
1212

1313
interface ButtonStateProps extends AntButtonProps {
1414
label: string;

src/components/elements/Input/index.tsx renamed to src/examples/components/elements/Input/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import 'antd/lib/input/style/css';
55

66
import {
77
withTracking,
8-
} from '../../../library/user-analytics/react/components/withTracking';
8+
} from 'library/react/components/withTracking';
99

1010
export interface InputProps extends AntInputProps {
1111

src/components/elements/Menu/MenuItem/index.tsx renamed to src/examples/components/elements/Menu/MenuItem/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import 'antd/lib/menu/style/css';
88

99
import {
1010
withTracking,
11-
} from '../../../../library/user-analytics/react/components/withTracking';
11+
} from 'library/react/components/withTracking';
1212

1313
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>
1414

0 commit comments

Comments
 (0)