npm.io
1.0.0 • Published 2 years ago

illyria-ui-table

Licence
MIT
Version
1.0.0
Deps
1
Size
40 kB
Vulns
0
Weekly
0

Illyria UI Table

npm License: MIT

Illyria UI Table is a customizable table component library for Angular.

Installation

npm install illyria-ui-table

Usage

Import Module

Import the TableModule in your Angular application:

import { TableModule } from 'illyria-ui-table';

@NgModule({
  imports: [TableModule],
  // ...
})
export class YourModule { }
Use the Table Component
<ui-table [columns]="columns" [data]="data"></ui-table>
Configuration
  • columns: An array of column configurations.
  • data: An array of data to display in the table.
const columns = [
  { header: 'Name', field: 'name' },
  { header: 'Age', field: 'age' }
];

const data = [
  { name: 'John Doe', age: 30 },
  { name: 'Jane Smith', age: 25 }
];
License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing
If you'd like to contribute, please fork the repository and create a pull request. You can also open an issue if you find a bug or have a feature request.

Keywords