Skip to content

Commit

Permalink
docs: custom-mdx-components for zh
Browse files Browse the repository at this point in the history
  • Loading branch information
ap0nia committed Nov 20, 2024
1 parent 6cc8e84 commit 553f5e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/document/docs/en/guide/advanced/custom-theme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const Layout = () => (
top={<div>top</div>}
/* Bottom of the entire page */
bottom={<div>bottom</div>}
/* Custom MDX components. */
/* Custom MDX components */
components={{ p: props => <p {...props} className="my-4 leading-7" /> }}
/>
);
Expand Down
2 changes: 2 additions & 0 deletions packages/document/docs/zh/guide/advanced/custom-theme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ const Layout = () => (
top={<div>top</div>}
/* 整个页面最底部 */
bottom={<div>bottom</div>}
/* 自定义 MDX 组件 */
components={{ p: props => <p {...props} className="my-4 leading-7" /> }}
/>
);

Expand Down

0 comments on commit 553f5e3

Please sign in to comment.