import { Collapse } from "antd";
import DiscussionTopic from "../discussion/DiscussionTopic";
import type { TResType } from "../discussion/DiscussionListCard";
const { Panel } = Collapse;
interface IQaCtl {
id: string;
title?: string;
resId?: string;
resType?: TResType;
}
const QaCtl = ({ id, title, resType }: IQaCtl) => {
return (
{resType ? (
) : (
"resType error"
)}
);
};
interface IWidget {
props: string;
}
const Widget = ({ props }: IWidget) => {
const prop = JSON.parse(atob(props)) as IQaCtl;
console.log(prop);
return (
<>
>
);
};
export default Widget;