Skip to content

Commit

Permalink
feat:Release Version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
邹铭杰 committed Dec 27, 2022
1 parent 9e69b71 commit 0086930
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# compose-swipeBox
Release Version 0.0.1
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ import androidx.compose.ui.graphics.Color

/**
* Created By Kevin Zou On 2022/12/24
*
* Wrap the real content into a box with weight set and align the content at center
*
* @param background the background color of the box
* @param weight the weight of the box
* @param onClick the action to be executed when the box is clicked
* @param content the real content of the box
*/
@Composable
fun RowScope.SwipeContent(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ import androidx.compose.ui.unit.dp

/**
* Created By Kevin Zou On 2022/12/23
*
* Wrap the Icon into the [SwipeContent] with required size so that the icon size will
* not change with the outside container
*
*/
@Composable
fun RowScope.SwipeIcon(
Expand Down

0 comments on commit 0086930

Please sign in to comment.