mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
Run npm run lint
This commit is contained in:
parent
b982387a8c
commit
2031cb7585
480 changed files with 8985 additions and 9048 deletions
|
@ -1,15 +1,15 @@
|
|||
<script lang="ts">
|
||||
import { DataTable } from "carbon-components-svelte";
|
||||
import { DataTable } from "carbon-components-svelte";
|
||||
|
||||
const headers = [
|
||||
{ key: "id", value: "id" },
|
||||
{ key: "contact.company", value: "Company name" },
|
||||
] as const;
|
||||
const headers = [
|
||||
{ key: "id", value: "id" },
|
||||
{ key: "contact.company", value: "Company name" },
|
||||
] as const;
|
||||
|
||||
const rows = [
|
||||
{ id: "1", contact: { company: "Company 1" } },
|
||||
{ id: "2", contact: { company: "Company 2" } },
|
||||
];
|
||||
const rows = [
|
||||
{ id: "1", contact: { company: "Company 1" } },
|
||||
{ id: "2", contact: { company: "Company 2" } },
|
||||
];
|
||||
</script>
|
||||
|
||||
<DataTable inputName="radio-select" radio {headers} {rows} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue