Skip to content

Commit

Permalink
setting :: write #8
Browse files Browse the repository at this point in the history
  • Loading branch information
wjzlskxk committed Aug 13, 2024
1 parent 5b6a345 commit 09c3943
Show file tree
Hide file tree
Showing 4 changed files with 2,691 additions and 1,631 deletions.
12 changes: 10 additions & 2 deletions apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@alimo/foundation": "workspace:*",
"@alimo/components": "workspace:*",
"@alimo/foundation": "workspace:*",
"@alimo/hooks": "workspace:*",
"@alimo/utils": "workspace:*",
"@alimo/styles": "workspace:*",
"@alimo/utils": "workspace:*",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
Expand Down Expand Up @@ -44,5 +44,13 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"babel-loader": "^9.1.3",
"ts-loader": "^9.5.1"
}
}
22 changes: 5 additions & 17 deletions apps/admin/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import React from "react";
// import logo from "./logo.svg";
import "./App.css";
import Write from "./components/write";

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.tsx</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
<Write />
</div>
);
}
Expand Down
14 changes: 14 additions & 0 deletions apps/admin/src/components/write/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { Button } from "@alimo/components/ui/Button/Button";
import React from "react";

const Write = () => {
return (
<div>
<Button disabled={false} onclick={() => {}} buttonSize="cta">
adsf
</Button>
</div>
);
};

export default Write;
Loading

0 comments on commit 09c3943

Please sign in to comment.