Skip to content

Commit a207ebc

Browse files
committed
refactor: update component imports to reflect new file structure and remove index files
1 parent e5065f9 commit a207ebc

File tree

5 files changed

+3
-7
lines changed

5 files changed

+3
-7
lines changed

src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import logo from "/logo.svg";
22
import { css } from "../styled-system/css";
3-
import { Button } from "./components/Button";
4-
import { Heading } from "./components/Heading";
5-
import { Text } from "./components/Text";
3+
import { Button } from "./components/Button/Button";
4+
import { Heading } from "./components/Heading/Heading";
5+
import { Text } from "./components/Text/Text";
66

77
function App() {
88
return (

src/components/Button/index.tsx

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/Heading/index.tsx

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/Icon/index.tsx

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/Text/index.tsx

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)