Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny-chung committed Sep 3, 2023
1 parent 472a259 commit 8ca67f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ with automatic layouts.
- Maximum cell width/height could be optionally specified
- Allowing custom composable and action listeners (e.g. clickable) for each cell
- Infinite table width and height
- Sticky rows and columns
- Straight-forward to use

## What is NOT included
Expand All @@ -33,17 +34,17 @@ with automatic layouts.
```kotlin
dependencies {
// ...
implementation("com.github.sunny-chung:composable-table:1.0.0")
implementation("com.github.sunny-chung:composable-table:<version>")
}
```

## Usage
Below shows an example of minimal usage.
```kotlin
Table(
columnCount = 10,
rowCount = 100
) { columnIndex, rowIndex ->
rowCount = 100,
columnCount = 10
) { rowIndex, columnIndex ->
Text("($rowIndex, $columnIndex)")
}
```
Expand Down
Binary file modified media/composable-table-demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8ca67f0

Please sign in to comment.