맥스그리드 API 레퍼런스
Preparing search index...
@maxgrid/core
IconRendererParams
Interface IconRendererParams<TRow>
icon
렌더러 옵션. 아이콘은 글자·이모지 또는
<svg>
문자열(
icons
옵션과 같은 정화).
interface
IconRendererParams
<
TRow
=
unknown
>
{
icon
?:
string
|
(
(
ctx
:
WidgetCtx
<
TRow
>
)
=>
string
|
null
|
undefined
)
;
label
?:
string
|
(
(
ctx
:
WidgetCtx
<
TRow
>
)
=>
string
)
;
map
?:
Record
<
string
,
string
>
;
onClick
?:
(
ctx
:
WidgetCtx
<
TRow
>
&
{
event
:
MouseEvent
}
)
=>
void
;
position
?:
"only"
|
"before"
|
"after"
;
size
?:
number
;
tone
?:
Tone
;
}
Type Parameters
TRow
=
unknown
Index
Properties
icon?
label?
map?
on
Click?
position?
size?
tone?
Properties
Optional
icon
icon
?:
string
|
(
(
ctx
:
WidgetCtx
<
TRow
>
)
=>
string
|
null
|
undefined
)
Optional
label
label
?:
string
|
(
(
ctx
:
WidgetCtx
<
TRow
>
)
=>
string
)
Optional
map
map
?:
Record
<
string
,
string
>
Optional
on
Click
onClick
?:
(
ctx
:
WidgetCtx
<
TRow
>
&
{
event
:
MouseEvent
}
)
=>
void
Optional
position
position
?:
"only"
|
"before"
|
"after"
Optional
size
size
?:
number
Optional
tone
tone
?:
Tone
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
icon
label
map
on
Click
position
size
tone
맥스그리드 API 레퍼런스
Loading...
icon렌더러 옵션. 아이콘은 글자·이모지 또는<svg>문자열(icons옵션과 같은 정화).