Skip to content

Commit

Permalink
refactor: 현재의 폴더 구조에 맞게 컴포넌트 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
cla6shade committed Oct 4, 2024
1 parent f6d853a commit 3b98456
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 18 deletions.
14 changes: 0 additions & 14 deletions .storybook/preview.ts

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const vars = {
};

type ResponseGridStyle = {
// eslint-disable-next-line
[key in keyof typeof vars]?: number;
};

Expand Down Expand Up @@ -41,7 +42,6 @@ const Wrapper = styled.div<Pick<Props, 'columns' | 'gap'>>(

export default function Grid({ children, columns, ...props }: Props): JSX.Element {
return (
// eslint-disable-next-line react/jsx-props-no-spreading
<Wrapper columns={columns} {...props}>
{children}
</Wrapper>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const vars = {
};

type ResponseGridStyle = {
// eslint-disable-next-line
[key in keyof typeof vars]?: number;
};

Expand Down Expand Up @@ -37,6 +38,5 @@ const Wrapper = styled.div<Pick<Props, 'height' | 'backgroundColor'>>(
);

export default function Spacing({ height, backgroundColor = 'inherit', ...props }: Props) {
// eslint-disable-next-line react/jsx-props-no-spreading
return <Wrapper height={height} backgroundColor={backgroundColor} {...props} />;
}
2 changes: 0 additions & 2 deletions src/shared/ui/index.ts

This file was deleted.

12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3653,6 +3653,7 @@ __metadata:
resolution: "ditto-frontend@workspace:."
dependencies:
"@chromatic-com/storybook": "npm:1.9.0"
"@emotion/babel-plugin": "npm:^11.12.0"
"@emotion/react": "npm:^11.13.3"
"@emotion/styled": "npm:^11.13.0"
"@eslint/js": "npm:^9.9.0"
Expand All @@ -3672,6 +3673,7 @@ __metadata:
"@typescript-eslint/eslint-plugin": "npm:7.0.0"
"@typescript-eslint/parser": "npm:^8.6.0"
"@vitejs/plugin-react-swc": "npm:^3.5.0"
emotion-normalize: "npm:^11.0.1"
eslint: "npm:8.57.0"
eslint-config-airbnb: "npm:^19.0.4"
eslint-config-airbnb-typescript: "npm:^18.0.0"
Expand Down Expand Up @@ -3774,6 +3776,16 @@ __metadata:
languageName: node
linkType: hard

"emotion-normalize@npm:^11.0.1":
version: 11.0.1
resolution: "emotion-normalize@npm:11.0.1"
peerDependencies:
"@emotion/react": ^11.0.0
react: ">=16.3.0"
checksum: 10c0/19254ff13d12f463b5dc91b33c1a961f6bf4cefd1011979c1f8889cb84d8e86b83c770b516ec22a379142f9e8833e3d1e99e1c6052947d24ed13cc2abe8f5779
languageName: node
linkType: hard

"encodeurl@npm:~1.0.2":
version: 1.0.2
resolution: "encodeurl@npm:1.0.2"
Expand Down

0 comments on commit 3b98456

Please sign in to comment.