Skip to content

Commit 88b1940

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 2b913a4 + 1a6108d commit 88b1940

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<h3 align="center">Kotlin Bootstrap</h3>
88
<p>
9-
⚡Highly experimental library built on top of the <a href="https://github.com/varabyte/kobweb" target="_blank" rel="noopener noreferrer">Kobweb</a>(Compose HTML framework). It allows you to use the official <a href="https://getbootstrap.com/" target="_blank" rel="noopener noreferrer">Bootstrap</a> UI components with Kotlin and Jetpack Compose, to build a frontend on the web. You are required to use the kobweb framework, otherwise it won't work. At the moment, components are not yet fully customizable, but I'll work on it. ⚽ The goal is to release all bootstrap components, and only then work on it's customization furthermore.
9+
⚡Highly experimental library built on top of the <a href="https://github.com/varabyte/kobweb" target="_blank" rel="noopener noreferrer">Kobweb</a> (Compose HTML framework). It allows you to use the official <a href="https://getbootstrap.com/" target="_blank" rel="noopener noreferrer">Bootstrap</a> UI components with Kotlin and Jetpack Compose, to build a frontend on the web. You are required to use the kobweb framework, otherwise it won't work. At the moment, components are not yet fully customizable, but I'll work on it. ⚽ The goal is to release all bootstrap components, and only then work on it's customization furthermore. Silk UI layer which is included with Kobweb is not required for this library to work.
1010
</p>
1111

1212
## Available Components
@@ -36,7 +36,7 @@
3636
- [ColorPicker](#colorpicker)
3737
- [FilePicker](#filepicker)
3838

39-
## Usage
39+
## Install
4040
Update a Project level `build.gradle.kts` file:
4141

4242
```gradle
@@ -72,7 +72,7 @@ kotlin {
7272
val jsMain by getting {
7373
dependencies {
7474
..
75-
implementation("com.github.stevdza-san:KotlinBootstrap:0.0.1")
75+
implementation("com.github.stevdza-san:KotlinBootstrap:0.0.2")
7676
}
7777
}
7878
}
@@ -147,8 +147,8 @@ BSInput(
147147
BSInput(
148148
value = inputValue,
149149
label = "Email Address",
150-
onValueChange = {},
151-
floating = true
150+
floating = true,
151+
onValueChange = {}
152152
)
153153
```
154154

@@ -159,10 +159,10 @@ BSInput(
159159
value = inputValue,
160160
label = "Email Address",
161161
placeholder = "Type here",
162-
onValueChange = {},
163162
validation = InputValidation(
164163
isValid = true
165-
)
164+
),
165+
onValueChange = {}
166166
)
167167
```
168168

@@ -173,10 +173,10 @@ BSInput(
173173
value = inputValue,
174174
label = "Email Address",
175175
placeholder = "Type here",
176-
onValueChange = {},
177176
validation = InputValidation(
178177
isInvalid = true
179-
)
178+
),
179+
onValueChange = {}
180180
)
181181
```
182182

@@ -187,8 +187,8 @@ BSInput(
187187
value = inputValue,
188188
label = "Email Address",
189189
placeholder = "Type here",
190-
onValueChange = {},
191-
disabled = true
190+
disabled = true,
191+
onValueChange = {}
192192
)
193193
```
194194

0 commit comments

Comments
 (0)