@kongponents/ktable

7.2.2 • Public • Published

@kongponents/ktable

const options = {
  headers: [
    { label: 'Name', key: 'name', sortable: true },
    { label: 'Type', key: 'type', sortable: true },
    { label: 'Credentials', key: 'credentials' },
    { label: '', key: 'actions', hideLabel: true }
  ],
  data: [
    {
      name: 'iOS App',
      type: 'Key',
      credentials: 'xyz'
    },
    {
      name: 'Website Desktop',
      type: 'Basic',
      credentials: '123xyz'
    },
    {
      name: 'Android App',
      type: 'JWT',
      credentials: '123xyz'
    }
  ]
}

<KTable :options=options :isStriped='true' :hasHover='true'>
  <template v-slot:actions="{row, rowKey, rowValue}"><a href="">Edit</a></template>
</KTable>

Readme

Keywords

none

Package Sidebar

Install

npm i @kongponents/ktable

Weekly Downloads

2

Version

7.2.2

License

Apache-2.0

Unpacked Size

3.23 MB

Total Files

11

Last publish

Collaborators

  • konginc
  • darrenjennings
  • travispamaral
  • nijikokun