react-admin-crud-manager 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-admin-crud-manager",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A reusable React CRUD admin template with modular components.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
package/src/index.js ADDED
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import CrudPage from "./components/CrudPage";
3
+ import "./index.css";
4
+
5
+ export default function Crud(props) {
6
+ return (
7
+ <>
8
+ <CrudPage config={props} />
9
+ </>
10
+ );
11
+ }
package/src/App.jsx DELETED
@@ -1,5 +0,0 @@
1
- import CrudPage from "./components/CrudPage";
2
-
3
- export default function App() {
4
- return <CrudPage />;
5
- }
package/src/main.jsx DELETED
@@ -1,11 +0,0 @@
1
- import React from 'react'
2
- import ReactDOM from 'react-dom/client'
3
- import { BrowserRouter } from 'react-router-dom'
4
- import App from './App'
5
- import "./index.css";
6
-
7
- ReactDOM.createRoot(document.getElementById('root')).render(
8
- <BrowserRouter>
9
- <App />
10
- </BrowserRouter>
11
- )