File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
docs/src/content/docs/ko/components Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,36 @@ import { Aside } from '@astrojs/starlight/components';
132
132
133
133
</Preview >
134
134
135
+ ### 사용자 정의 아이콘 사용
136
+
137
+ [ Starlight의 기본 제공 아이콘 중 하나] ( /ko/reference/icons/#모든-아이콘 ) 의 이름으로 설정된 [ ` icon ` ] ( #icon ) 속성을 사용하여 기본 아이콘을 재정의합니다.
138
+
139
+ <Preview >
140
+
141
+ ``` mdx 'icon="starlight"'
142
+ import { Aside } from ' @astrojs/starlight/components' ;
143
+
144
+ <Aside type = " tip" icon = " starlight" >
145
+ 사용자 정의 아이콘을 * 사용하는* 보조 팁입니다.
146
+ </Aside >
147
+ ```
148
+
149
+ <Fragment slot = " markdoc" >
150
+
151
+ ``` markdoc 'icon="starlight"'
152
+ {% aside type="tip" icon="starlight" %}
153
+ 사용자 정의 아이콘을 *사용하는* 보조 팁입니다.
154
+ {% /aside %}
155
+ ```
156
+
157
+ </Fragment >
158
+
159
+ <Aside slot = " preview" type = " tip" icon = " starlight" >
160
+ 사용자 정의 아이콘을 * 사용하는* 보조 팁입니다.
161
+ </Aside >
162
+
163
+ </Preview >
164
+
135
165
## ` <Aside> ` 속성
136
166
137
167
** 구현:** [ ` Aside.astro ` ] ( https://github.com/withastro/starlight/blob/main/packages/starlight/user-components/Aside.astro )
@@ -156,3 +186,9 @@ import { Aside } from '@astrojs/starlight/components';
156
186
157
187
표시할 보조 내용의 제목입니다.
158
188
` title ` 이 설정되어 있지 않으면 현재 보조 내용의 ` type ` 이 기본 제목으로 사용됩니다.
189
+
190
+ ### ` icon `
191
+
192
+ ** 타입:** [ ` StarlightIcon ` ] ( /ko/reference/icons/#starlighticon-타입 )
193
+
194
+ 보조 내용은 [ Starlight의 기본 제공 아이콘 중 하나] ( /ko/reference/icons/#모든-아이콘 ) 의 이름으로 설정된 ` icon ` 속성을 포함할 수 있습니다.
You can’t perform that action at this time.
0 commit comments