Skip to content

Commit

Permalink
docs: Update svelte-table.md (#4631)
Browse files Browse the repository at this point in the history
Update to `.svelte` style from `.tsx`
  • Loading branch information
johanvaneck committed Jan 9, 2023
1 parent a92b02f commit ffe2bc4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/adapters/svelte-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ The `@tanstack/svelte-table` adapter is a wrapper around the core table logic. M

Takes an `options` object and returns a table.

```tsx
```svelte
<script>
import { createSvelteTable } from '@tanstack/svelte-table'
function App() {
const table = createSvelteTable(options)
const table = createSvelteTable(options)
// ...render your table
}
</script>
```

0 comments on commit ffe2bc4

Please sign in to comment.