generated from Luis/nextjs-python-web-template
added consume view and loaders on the buttons when clicked
This commit is contained in:
committed by
Sara Pervana
parent
1b549549c0
commit
b5008306cb
9
pkgs/ui/src/components/consume_content/index.tsx
Normal file
9
pkgs/ui/src/components/consume_content/index.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
const ConsumeDisplayComponent = ({ htmlContent }: { htmlContent: any }) => {
|
||||
return (
|
||||
<div>
|
||||
<div dangerouslySetInnerHTML={{ __html: htmlContent }} />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default ConsumeDisplayComponent;
|
||||
Reference in New Issue
Block a user