Skip to content

Commit d27504d

Browse files
add notes
1 parent adb029e commit d27504d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

examples/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ By [`@jimmynguyen1308`](https://github.com/jimmynguyen1308)
66

77
## Example 1
88

9-
Click [here](example1.tsx) to see code
9+
Click [here](example1.tsx) to see code & instructions
1010

1111
### Screenshot
1212

1313
![screenshot-1](screenshot-example-1.png)
1414

1515
## Example 2
1616

17-
Click [here](example2.tsx) to see code
17+
Click [here](example2.tsx) to see code & instructions
1818

1919
### Screenshot
2020

21-
![screenshot-1](screenshot-example-2.png)
21+
![screenshot-2](screenshot-example-2.png)

src/types/filter.types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@ export type FilterTypes = (typeof filterType)[keyof typeof filterType]
44

55
export type FilterConfig = {
66
params: {
7+
// Filter keywords
78
[key: string]: string
89
}
910
}
1011

1112
export type FilterOptions = {
13+
// Filter types based on parameters
1214
params: {
1315
[key: string]: FilterTypes
1416
}
17+
// Filter options (for "options"-typed filters)
1518
options?: {
1619
[key: string]: Array<FilterValue>
1720
}

src/types/table.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export type TBodyProps = {
7575
export type TableData = {
7676
// Table data
7777
tData: Array<CellData>
78-
// Rendered elements
78+
// Customized elements for table cells based on the column types
7979
element?: {
8080
[key: string]: QRL<(record: CellData, param: string) => JSXOutput>
8181
}

0 commit comments

Comments
 (0)