added consume view and loaders on the buttons when clicked

This commit is contained in:
sara-pervana
2024-01-29 18:19:21 +01:00
committed by Sara Pervana
parent 1b549549c0
commit b5008306cb
7 changed files with 158 additions and 40 deletions

View File

@@ -0,0 +1,9 @@
const ConsumeDisplayComponent = ({ htmlContent }: { htmlContent: any }) => {
return (
<div>
<div dangerouslySetInnerHTML={{ __html: htmlContent }} />
</div>
);
};
export default ConsumeDisplayComponent;