Skip to content

Commit 642413f

Browse files
authored
コメント改善
1 parent 2066f41 commit 642413f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/theme/MDXComponents.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ import MDXComponents from "@theme-original/MDXComponents";
33

44
/*
55
6-
This JS file is automatically imported on every page
6+
export components in this file
7+
and they become available on every page
8+
9+
このファイルでコンポネントをexportすると、
10+
全てのページでimport宣言無しで使えるようになります。
711
812
cf. https://docusaurus.io/docs/markdown-features/react#mdx-component-scope
913

0 commit comments

Comments
 (0)