fix header prefix suffix
This commit is contained in:
parent
b3eeaea11e
commit
a98a94bd27
|
|
@ -12,6 +12,7 @@ import {
|
|||
} from "./utils/md-hash";
|
||||
import { mdRenderLoop } from "./utils/md-render-loop";
|
||||
import { MDLocalInternal, MDProps } from "./utils/typings";
|
||||
import { any } from "zod";
|
||||
|
||||
export const MasterDetail: FC<MDProps> = (arg) => {
|
||||
const {
|
||||
|
|
@ -38,6 +39,8 @@ export const MasterDetail: FC<MDProps> = (arg) => {
|
|||
breadcrumb: [],
|
||||
internalRender() {},
|
||||
render: () => {},
|
||||
master: { prefix: null, suffix: null },
|
||||
child: { prefix: null, suffix: null },
|
||||
},
|
||||
selected: null,
|
||||
tab: {
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@ export type MDLocalInternal = {
|
|||
breadcrumb: BreadItem[];
|
||||
internalRender: () => void;
|
||||
render: () => void;
|
||||
master: { prefix: any; suffix: any };
|
||||
child: { prefix: any; suffix: any };
|
||||
};
|
||||
actions: MDActions;
|
||||
selected: any;
|
||||
|
|
@ -105,6 +107,8 @@ export const MasterDetailType = `const md = {
|
|||
url?: string;
|
||||
onClick?: () => void;
|
||||
}[]
|
||||
master: { prefix: any; suffix: any };
|
||||
child: { prefix: any; suffix: any };
|
||||
};
|
||||
actions: (
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue