File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,12 @@ This reusable table component is simple and can be expanded with additional feat
25
25
- Mobile/Tablet view
26
26
<img width =" 500 " src =" https://github.com/serikshaikamalov/lit-components/assets/11631958/b4c384ad-a266-4079-a0cb-a94ed8fdd395 " />
27
27
28
- 1 . The component requires two properties:
28
+ The component requires two properties:
29
29
30
30
- columnConfig. This is representaion of your entity.
31
31
- data. List of data that should be displayed in table
32
32
33
- ## Full example :
33
+ ## Usage :
34
34
35
35
``` js
36
36
import { LitElement , html , css } from " lit" ;
@@ -92,3 +92,8 @@ export class MovieList extends LitElement {
92
92
}
93
93
customElements .define (" movie-list" , MovieList);
94
94
```
95
+
96
+ In this example:
97
+
98
+ tableConfig defines the columns with optional formatter and render functions.
99
+ data contains the rows of the table.
You can’t perform that action at this time.
0 commit comments