Skip to content

Commit 4ee410f

Browse files
Update README.md
1 parent 5866d55 commit 4ee410f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,15 +247,19 @@ You can customize these properties of the drop down:
247247

248248
- `textFont`: the font of the text for each cells of the drop down.
249249
- `textColor`: the color of the text for each cells of the drop down.
250+
- `selectedTextColor`: the color of the text for selected cells of the drop down.
250251
- `backgroundColor`: the background color of the drop down.
251252
- `selectionBackgroundColor`: the background color of the selected cell in the drop down.
252253
- `cellHeight`: the height of the drop down cells.
253254
- `dimmedBackgroundColor`: the color of the background (behind the drop down, covering the entire screen).
255+
- `cornerRadius`: the corner radius of the drop down (see [info](#Issues) below if you encounter any issue)
256+
- `setupMaskedCorners`: the masked corners of the dropdown. Use this along with `cornerRadius` to set the corner radius only on certain corners.
254257

255258
You can change them through each instance of `DropDown` or via `UIAppearance` like this for example:
256259

257260
```swift
258261
DropDown.appearance().textColor = UIColor.black
262+
DropDown.appearance().selectedTextColor = UIColor.red
259263
DropDown.appearance().textFont = UIFont.systemFont(ofSize: 15)
260264
DropDown.appearance().backgroundColor = UIColor.white
261265
DropDown.appearance().selectionBackgroundColor = UIColor.lightGray

0 commit comments

Comments
 (0)