FrontEnd: Playing with store (solidjs)
This commit is contained in:
9
frontend/src/components/AuthLoader.tsx
Normal file
9
frontend/src/components/AuthLoader.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
const AuthLoader = () => {
|
||||
return (
|
||||
<div>
|
||||
<h2>Auth Loading...</h2>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default AuthLoader;
|
||||
13
frontend/src/components/TestComponent.tsx
Normal file
13
frontend/src/components/TestComponent.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
interface TestComponentProps {
|
||||
// add props here
|
||||
}
|
||||
|
||||
function TestComponent(props: TestComponentProps) {
|
||||
return (
|
||||
<div>
|
||||
<h2>TestComponent</h2>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default TestComponent;
|
||||
Reference in New Issue
Block a user