illyria-ui-table
v1.0.0
Published
A customizable table component library for Angular
Downloads
2
Maintainers
Readme
Illyria UI Table
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.