refactor(WheelSelector): add union type for theme
This commit is contained in:
parent
f11be24f74
commit
ee3a0c7c6a
@ -42,7 +42,7 @@ export interface WheelSelectorOptions {
|
||||
* Android only - theme color, 'light' or 'dark'.
|
||||
* Default: light
|
||||
*/
|
||||
theme?: string;
|
||||
theme?: 'light' | 'dark'
|
||||
|
||||
/**
|
||||
* Whether to have the wheels 'wrap' (Android only)
|
||||
@ -76,7 +76,7 @@ export interface WheelSelectorData {
|
||||
*
|
||||
* ...
|
||||
*
|
||||
* let jsonData = {
|
||||
* const jsonData = {
|
||||
* numbers: [
|
||||
* { description: "1" },
|
||||
* { description: "2" },
|
||||
|
Loading…
Reference in New Issue
Block a user