oak-general-business/es/components/wechatMaterialLibrary/web.pc.d.ts

16 lines
624 B
TypeScript

import React from 'react';
import { EntityDict } from "../../oak-app-domain";
import { WebComponentProps } from 'oak-frontend-base';
import { MediaVideoDescription } from '../../types/WeChat';
export default function Render(props: WebComponentProps<EntityDict, keyof EntityDict, true, {
type: string;
materials: any[];
total: number;
getMenuContent: (menuContent: any) => void;
}, {
getMaterialList: (page: number) => void;
getArticleList: (page: number) => void;
upload: (media: File, description?: MediaVideoDescription) => boolean;
getImg: (url: string) => string;
}>): React.JSX.Element;