0.1.7-beta.1 • Published 1 year ago

svelte-dtable v0.1.7-beta.1

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

svelte-dtable

svelte-dtable is a svelte datatables library

DO NOT USE in prod as it is still in beta

Installation

Use the package manager npm to install svelte-dtable.

npm i svelte-dtable

Examples

find documentation at npm to install svelte-dtable.

npm i svelte-dtable

Usage

<script>
	import { Table } from 'svelte-dtable';
	import data from './data.ts';
	let columns = ['name', 'position', 'salary', 'start_date', 'office', 'extn'];
</script>

<div>
	<Table rows={data} {columns} />
</div>

Contributing

Pull requests are welcome svelte-dtable. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT