Fix App.jsx two-page workflow JSX render and update study app layout
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
import { BaseXmlComponent, IContext } from './base';
|
||||
import { IXmlableObject } from './xmlable-object';
|
||||
export type AttributeMap<T> = Record<keyof T, string>;
|
||||
export type AttributeData = Record<string, boolean | number | string>;
|
||||
export type AttributePayload<T> = {
|
||||
readonly [P in keyof T]: {
|
||||
readonly key: string;
|
||||
readonly value: T[P];
|
||||
};
|
||||
};
|
||||
export declare abstract class XmlAttributeComponent<T extends Record<string, any>> extends BaseXmlComponent {
|
||||
private readonly root;
|
||||
protected readonly xmlKeys?: AttributeMap<T>;
|
||||
constructor(root: T);
|
||||
prepForXml(_: IContext): IXmlableObject;
|
||||
}
|
||||
export declare class NextAttributeComponent<T extends AttributeData> extends BaseXmlComponent {
|
||||
private readonly root;
|
||||
constructor(root: AttributePayload<T>);
|
||||
prepForXml(_: IContext): IXmlableObject;
|
||||
}
|
||||
Reference in New Issue
Block a user