1.0.0-rc.10 • Published 23 days ago
@morpheme/table v1.0.0-rc.10
DataTable
DataTable component.
Installation
npm
npm i @morpheme/table
yarn
yarn add @morpheme/table
pnpm
pnpm add @morpheme/table
Usage
<script setup lang="ts">
import VDataTable from '@morpheme/table';
import '@morpheme/table/dist/style.css';
const states = ['active', 'inactive'];
const items = [...Array(30)].map((_, index) => ({
index,
name: `User-${index}`,
email: `user-${index}@example.com`,
age: index + 1 * 10,
state: states[Math.floor(Math.random() * states.length)],
}));
const headers = [
{
value: 'index',
text: 'No.',
},
{
value: 'name',
text: 'Name',
},
{
value: 'email',
text: 'Email',
},
];
</script>
<template>
<VDataTable :items="items" :headers="headers" />
</template>
Documentation
View full documentation here.
License
MIT
1.0.0-rc.10
23 days ago
1.0.0-rc.9
4 months ago
1.0.0-rc.8
5 months ago
1.0.0-next.39
10 months ago
1.0.0-edge.2
6 months ago
1.0.0-canary.7
8 months ago
1.0.0-edge.7
6 months ago
1.0.0-next.40
10 months ago
1.0.0-alpha.1
6 months ago
1.0.0-alpha.100
7 months ago
1.0.0-alpha.99
7 months ago
1.0.0-canary2.75
8 months ago
1.0.0-rc.7
6 months ago
1.0.0-rc.5
6 months ago
1.0.0-rc.6
6 months ago
1.0.0-beta.11
10 months ago
1.0.0-next2.41
9 months ago
1.0.0-edge.11
6 months ago
1.0.0-rc.3
6 months ago
1.0.0-rc.4
6 months ago
1.0.0-next.4
9 months ago
1.0.0-rc.1
8 months ago
1.0.0-next.5
9 months ago
1.0.0-rc.0
8 months ago
1.0.0-alpha.327
11 months ago
1.0.0-beta.10
11 months ago
1.0.0-alpha.40
12 months ago
1.0.0-alpha.32
12 months ago
1.0.0-alpha.53
12 months ago
1.0.0-alpha.131
11 months ago
1.0.0-alpha.284
11 months ago
1.0.0-alpha.283
11 months ago
1.0.0-alpha.282
11 months ago
1.0.0-beta.9
11 months ago
1.0.0-alpha.27
12 months ago
1.0.0-alpha.222
11 months ago
1.0.0-alpha.37
12 months ago
1.0.0-alpha.286
11 months ago
1.0.0-alpha.69
12 months ago
1.0.0-alpha.57
12 months ago
1.0.0-beta.8
1 year ago
1.0.0-alpha.13
1 year ago
1.0.0-alpha.6
1 year ago
1.0.0-beta.7
1 year ago
1.0.0-alpha.46
1 year ago
1.0.0-beta.6
1 year ago
1.0.0-beta.5
1 year ago