Skip to content

Commit ff786e7

Browse files
Merge remote-tracking branch 'origin/master'
2 parents 6d40260 + 36ea586 commit ff786e7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Composables like **Icon**.
1414
Sliders that can use Color or gradient for track, thumb, or tick colors with custom thumb and track
1515
heights.
1616

17-
```
17+
```kotlin
1818
@Composable
1919
fun ColorfulSlider(
2020
value: Float,
@@ -78,7 +78,7 @@ fun ColorfulSlider(
7878

7979
Usage
8080

81-
```
81+
```kotlin
8282
ColorfulSlider(
8383
value = progress2,
8484
thumbRadius = 10.dp,
@@ -98,7 +98,7 @@ ColorfulSlider(
9898

9999
`SliderBrushColor` is a data class which can be used to set color or brush for any color property
100100

101-
```
101+
```kotlin
102102

103103
/**
104104
* Data class that contains color or/and brush property for drawing track section of
@@ -127,7 +127,7 @@ data class SliderBrushColor(
127127

128128
Sliders that can move a label above the Slider and display progress
129129

130-
```
130+
```kotlin
131131
fun SliderWithLabel(
132132
value: Float,
133133
onValueChange: (Float) -> Unit,
@@ -150,7 +150,7 @@ fun SliderWithLabel(
150150

151151
Usage
152152

153-
```
153+
```kotlin
154154
SliderWithLabel(
155155
value = labelProgress,
156156
onValueChange = {
@@ -179,7 +179,7 @@ SliderWithLabel(
179179
Sliders that can use any Composable for thumb and use Color or gradient for track, thumb, or tick
180180
colors with custom thumb and track heights.
181181

182-
```
182+
```kotlin
183183
fun ColorfulIconSlider(
184184
modifier: Modifier = Modifier,
185185
value: Float,
@@ -201,7 +201,7 @@ Usage
201201

202202
Emojis are transparent by default in Compose, you might want to set non-transparent color for `Text`
203203

204-
```
204+
```kotlin
205205
ColorfulIconSlider(
206206
value = progress,
207207
onValueChange = { value, offset ->
@@ -220,7 +220,7 @@ ColorfulIconSlider(
220220

221221
or
222222

223-
```
223+
```kotlin
224224
ColorfulIconSlider(
225225
value = progress,
226226
onValueChange = { value, offset ->

0 commit comments

Comments
 (0)