Skip to content

Commit

Permalink
chore(CustomViewer): theme 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubinquitous committed Sep 26, 2023
1 parent dd04b82 commit 0709868
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/atoms/CustomViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ interface MDViewerPropsType {
}

const CustomViewer = ({ content }: MDViewerPropsType) => {
return <MDViewer source={content} />;
return (
<MDViewer
source={content}
wrapperElement={{
"data-color-mode": "light",
}}
/>
);
};

export default CustomViewer;

0 comments on commit 0709868

Please sign in to comment.