skyouc
2025-08-30 b2ad4e4aa11206b53f36c5c65c9d29d756b160f6
rsf-admin/src/page/stockItem/index.jsx
New file
@@ -0,0 +1,18 @@
import React, { useState, useRef, useEffect, useMemo } from "react";
import {
    ListGuesser,
    EditGuesser,
    ShowGuesser,
} from "react-admin";
import StockItemList from "./StockItemList";
import StockItemEdit from "./StockItemEdit";
export default {
    list: StockItemList,
    edit: StockItemEdit,
    show: ShowGuesser,
    recordRepresentation: (record) => {
        return `${record.id}`
    }
};