mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(docs): string interpolation in display method body
Co-authored-by: Eric Liu <ericyl.us@gmail.com>
This commit is contained in:
parent
177836e2f3
commit
bdc41f1144
1 changed files with 2 additions and 2 deletions
|
@ -199,7 +199,7 @@ The slot name for the table header cells is `"cell-header"`.
|
||||||
{ key: "name", value: "Name" },
|
{ key: "name", value: "Name" },
|
||||||
{ key: "protocol", value: "Protocol" },
|
{ key: "protocol", value: "Protocol" },
|
||||||
{ key: "port", value: "Port" },
|
{ key: "port", value: "Port" },
|
||||||
{ key: "cost", value: "Cost", display: (cost) => `${cost} €` },
|
{ key: "cost", value: "Cost", display: (cost) => cost + " €" },
|
||||||
{
|
{
|
||||||
key: "expireDate",
|
key: "expireDate",
|
||||||
value: "Expire date",
|
value: "Expire date",
|
||||||
|
@ -819,4 +819,4 @@ The slot name for the table header cells is `"cell-header"`.
|
||||||
|
|
||||||
### Skeleton (compact size)
|
### Skeleton (compact size)
|
||||||
|
|
||||||
<DataTableSkeleton showHeader={false} showToolbar={false} size="compact" />
|
<DataTableSkeleton showHeader={false} showToolbar={false} size="compact" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue