structured-render - v2.17.1
Preparing search index...
createStructuredRenderTableShape
Function createStructuredRenderTableShape
createStructuredRenderTableShape
<
IconKey
extends
string
>
(
iconShape
:
UnsafeShape
<
StructuredRenderIcon
<
IconKey
>
>
,
)
:
UnsafeShape
<
SharedSectionTypes
<
"table"
>
&
{
direction
:
StructuredRenderCellDirection
;
entries
:
{
data
:
Record
<
string
,
|
StructuredRenderShapesAllowedInTable
<
IconKey
>
|
null
|
undefined
|
(
StructuredRenderShapesAllowedInTable
<
(...)
>
|
null
|
undefined
)
[]
,
>
;
sources
?:
(
StructuredRenderSource
|
null
|
undefined
)
[]
|
null
;
}
[]
;
footerRows
?:
|
{
alignment
?:
StructuredRenderTableFooterAlignment
|
null
;
cells
:
|
StructuredRenderShapesAllowedInTable
<
IconKey
>
|
(StructuredRenderShapesAllowedInTable<IconKey> | null | undefined)
[]
|
null
|
undefined
;
}
[]
|
null
;
headers
:
{
disableSort
?:
boolean
|
null
;
hidden
?:
boolean
|
null
;
key
:
string
;
sortKey
?:
string
|
null
;
text
?:
StructuredRenderText
<
IconKey
>
|
null
;
}
[]
;
style
?:
StructuredRenderTextStyle
|
null
;
}
,
>
Creates a shape for
StructuredRenderTable
with the given icon shape.
Type Parameters
IconKey
extends
string
Parameters
iconShape
:
UnsafeShape
<
StructuredRenderIcon
<
IconKey
>
>
Returns
UnsafeShape
<
SharedSectionTypes
<
"table"
>
&
{
direction
:
StructuredRenderCellDirection
;
entries
:
{
data
:
Record
<
string
,
|
StructuredRenderShapesAllowedInTable
<
IconKey
>
|
null
|
undefined
|
(
StructuredRenderShapesAllowedInTable
<
(...)
>
|
null
|
undefined
)
[]
,
>
;
sources
?:
(
StructuredRenderSource
|
null
|
undefined
)
[]
|
null
;
}
[]
;
footerRows
?:
|
{
alignment
?:
StructuredRenderTableFooterAlignment
|
null
;
cells
:
|
StructuredRenderShapesAllowedInTable
<
IconKey
>
|
(StructuredRenderShapesAllowedInTable<IconKey> | null | undefined)
[]
|
null
|
undefined
;
}
[]
|
null
;
headers
:
{
disableSort
?:
boolean
|
null
;
hidden
?:
boolean
|
null
;
key
:
string
;
sortKey
?:
string
|
null
;
text
?:
StructuredRenderText
<
IconKey
>
|
null
;
}
[]
;
style
?:
StructuredRenderTextStyle
|
null
;
}
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
structured-render - v2.17.1
Loading...
Creates a shape for StructuredRenderTable with the given icon shape.