mirror of
https://gitea.gofwd.group/dstrawsb/ballistic-builder.git
synced 2025-12-06 02:36:44 -05:00
restructuring folders
This commit is contained in:
11
app/Fragments/Error/index.js
Normal file
11
app/Fragments/Error/index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
import styles from './style.module.css';
|
||||
|
||||
const ErrorMessage = ({ error }) => (
|
||||
<div className="ErrorMessage">
|
||||
<small>{error.toString()}</small>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default ErrorMessage;
|
||||
23
app/Fragments/Error/package.json
Normal file
23
app/Fragments/Error/package.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "error",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"main": "./index",
|
||||
"author": {
|
||||
"name": "Sean Strawsburg",
|
||||
"email": "sean@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
},
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Don Strawsburg",
|
||||
"email": "don@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
},
|
||||
{
|
||||
"name": "Sean Strawsburg",
|
||||
"email": "sean@goforward.group",
|
||||
"url": "https://goforward.group/"
|
||||
}
|
||||
]
|
||||
}
|
||||
5
app/Fragments/Error/style.module.css
Normal file
5
app/Fragments/Error/style.module.css
Normal file
@@ -0,0 +1,5 @@
|
||||
.ErrorMessage {
|
||||
margin: 20px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
Reference in New Issue
Block a user