mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: format files with Prettier 3
This commit is contained in:
parent
1dcd09bd98
commit
8e996dc683
391 changed files with 3725 additions and 3785 deletions
|
@ -3,21 +3,21 @@
|
|||
</script>
|
||||
|
||||
<DataTable
|
||||
headers="{[
|
||||
{ key: 'name', value: 'Name' },
|
||||
{ key: 'protocol', value: 'Protocol', width: '400px', minWidth: '40%' },
|
||||
{ key: 'port', value: 'Port' },
|
||||
{ key: 'rule.name', value: 'Rule', sort: false },
|
||||
]}"
|
||||
rows="{[
|
||||
headers={[
|
||||
{ key: "name", value: "Name" },
|
||||
{ key: "protocol", value: "Protocol", width: "400px", minWidth: "40%" },
|
||||
{ key: "port", value: "Port" },
|
||||
{ key: "rule.name", value: "Rule", sort: false },
|
||||
]}
|
||||
rows={[
|
||||
{
|
||||
id: 'a',
|
||||
name: 'Load Balancer 3',
|
||||
protocol: 'HTTP',
|
||||
id: "a",
|
||||
name: "Load Balancer 3",
|
||||
protocol: "HTTP",
|
||||
port: 3000,
|
||||
'rule.name': 'Round robin',
|
||||
"rule.name": "Round robin",
|
||||
},
|
||||
]}"
|
||||
]}
|
||||
>
|
||||
<span slot="cell" let:cell let:row>
|
||||
{cell.key === "rule.name"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue