14 lines
535 B
TypeScript
14 lines
535 B
TypeScript
import React from 'react';
|
|
import { EntityDict } from "../../../oak-app-domain";
|
|
import { WebComponentProps } from 'oak-frontend-base';
|
|
export default function Render(props: WebComponentProps<EntityDict, keyof EntityDict, false, {
|
|
button: any[];
|
|
}, {
|
|
getMaterialImgAndVoice: (type: 'image' | 'voice', media_id: string) => Promise<string>;
|
|
getArticle: (article_id: string) => Promise<any[]>;
|
|
getMaterialVideo: (mediaId: string) => Promise<{
|
|
url: string;
|
|
media_id: string;
|
|
}>;
|
|
}>): React.JSX.Element;
|