Skip to content

Commit 1fa44e2

Browse files
committed
readme updated.
1 parent 361fa48 commit 1fa44e2

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,12 @@ can be added as XML node; into eg. [`preferences.xml`](https://github.com/syslog
5656

5757
c) [`ColorPickerComponent`](https://github.com/syslogic/androidx-colorpicker/blob/master/library/src/main/java/io/syslogic/colorpicker/compose/ColorPickerComponent.kt) is a `Composable`.
5858

59-
Screenshot `ColorPickerComponent`:
59+
Preview of `@Composable fun ColorPickerComponent`:
6060

6161
![Composable](https://raw.githubusercontent.com/syslogic/androidx-colorpicker/master/screenshots/screenshot_02.png)
6262

63+
d) [`ColorPickerDialog`](https://github.com/syslogic/androidx-colorpicker/blob/master/library/src/main/java/io/syslogic/colorpicker/compose/ColorPickerDialog.kt) is a `Composable`.
64+
65+
Preview of `@Composable fun ColorPickerDialog`:
66+
67+
![Composable](https://raw.githubusercontent.com/syslogic/androidx-colorpicker/master/screenshots/screenshot_03.png)

library/src/debug/java/io/syslogic/colorpicker/compose/ColorPickerDialogPreview.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ fun ColorPickerDialogPreview() {
2424
showARGB = false,
2525
showHSV = false,
2626
showHex = true,
27-
showDialog = {
28-
29-
}
27+
showDialog = {}
3028
)
3129
}
3230
}

screenshots/screenshot_03.png

137 KB
Loading

0 commit comments

Comments
 (0)