diff options
author | Junseong Park | 2024-12-14 16:08:57 +0900 |
---|---|---|
committer | GitHub | 2024-12-14 08:08:57 +0100 |
commit | 485a9f5a5ae3a63eaa4523e7f6a465b9e50c7a04 (patch) | |
tree | e821bc86fdae631beba6ccfa0b65f16f2744f823 | |
parent | 8e8c92d3ff10e2e12606db6618ebf84013718986 (diff) | |
download | IT.starlight-485a9f5a5ae3a63eaa4523e7f6a465b9e50c7a04.tar.gz IT.starlight-485a9f5a5ae3a63eaa4523e7f6a465b9e50c7a04.tar.bz2 IT.starlight-485a9f5a5ae3a63eaa4523e7f6a465b9e50c7a04.zip |
i18n(ko-KR): update `overriding-components.mdx` (#2677)
Co-authored-by: HiDeoo <494699+HiDeoo@users.noreply.github.com>
-rw-r--r-- | docs/src/content/docs/ko/guides/overriding-components.mdx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/content/docs/ko/guides/overriding-components.mdx b/docs/src/content/docs/ko/guides/overriding-components.mdx index 04ef5f91..20925961 100644 --- a/docs/src/content/docs/ko/guides/overriding-components.mdx +++ b/docs/src/content/docs/ko/guides/overriding-components.mdx @@ -84,7 +84,7 @@ import Default from '@astrojs/starlight/components/SocialIcons.astro'; ์ฌ์ฉ์ ์ ์ ์ปดํฌ๋ํธ ๋ด๋ถ์ ๋ด์ฅ ์ปดํฌ๋ํธ๋ฅผ ๋ ๋๋งํ๋ ๊ฒฝ์ฐ: - ์ ๊ฐ ์ฐ์ฐ์๋ฅผ ์ฌ์ฉํ์ฌ ๋ด์ฅ ์ปดํฌ๋ํธ์ `Astro.props`์ ๋ชจ๋ ์์ฑ์ ์ ๋ฌํฉ๋๋ค. ์ด๋ฅผ ํตํด, ๋ด์ฅ ์ปดํฌ๋ํธ๋ ๋ ๋๋ง์ ํ์ํ ๋ชจ๋ ๋ฐ์ดํฐ๋ฅผ ์ ๋ฌ๋ฐ์ต๋๋ค. -- ๊ธฐ๋ณธ ์ปดํฌ๋ํธ ๋ด์ [`<slot />`](https://docs.astro.build/ko/core-concepts/astro-components/#์ฌ๋กฏ)์ ์ถ๊ฐํฉ๋๋ค. ์ด๋ฅผ ํตํด, ํ์ ์ปดํฌ๋ํธ๋ฅผ ์ ๋ฌ๋ฐ์ ๊ฒฝ์ฐ, Astro๊ฐ ์ ๋ฌ๋ฐ์ ์ปดํฌ๋ํธ๋ฅผ ๋ ๋๋งํ ์์น๋ฅผ ์ ์ ์์ต๋๋ค. +- ๊ธฐ๋ณธ ์ปดํฌ๋ํธ ๋ด์ [`<slot />`](https://docs.astro.build/ko/basics/astro-components/#์ฌ๋กฏ)์ ์ถ๊ฐํฉ๋๋ค. ์ด๋ฅผ ํตํด, ํ์ ์ปดํฌ๋ํธ๋ฅผ ์ ๋ฌ๋ฐ์ ๊ฒฝ์ฐ, Astro๊ฐ ์ ๋ฌ๋ฐ์ ์ปดํฌ๋ํธ๋ฅผ ๋ ๋๋งํ ์์น๋ฅผ ์ ์ ์์ต๋๋ค. [๋ช
๋ช
๋ ์ฌ๋กฏ](https://docs.astro.build/ko/basics/astro-components/#๋ช
๋ช
๋-์ฌ๋กฏ)์ด ํฌํจ๋ [`PageFrame`](/ko/reference/overrides/#pageframe) ๋๋ [`TwoColumnContent`](/ko/reference/overrides/#twocolumncontent) ์ปดํฌ๋ํธ๋ฅผ ์ฌ์ฌ์ฉํ๋ ๊ฒฝ์ฐ ์ด๋ฌํ ์ฌ๋กฏ๋ [์ ์ก](https://docs.astro.build/ko/basics/astro-components/#์ฌ๋กฏ-์ ์ก)ํด์ผ ํฉ๋๋ค. @@ -155,4 +155,4 @@ const isHomepage = Astro.props.slug === ''; } ``` -[Astro์ ํ
ํ๋ฆฟ ๊ตฌ๋ฌธ ๊ฐ์ด๋](https://docs.astro.build/ko/core-concepts/astro-syntax/#dynamic-html)์์ ์กฐ๊ฑด๋ถ ๋ ๋๋ง์ ๋ํด ์์ธํ ์์๋ณด์ธ์. +[Astro์ ํ
ํ๋ฆฟ ๊ตฌ๋ฌธ ๊ฐ์ด๋](https://docs.astro.build/ko/basics/astro-syntax/#๋์ -html)์์ ์กฐ๊ฑด๋ถ ๋ ๋๋ง์ ๋ํด ์์ธํ ์์๋ณด์ธ์. |