add support for MultiSelectListPreference (#108)

This commit is contained in:
Aria Moradi
2021-11-29 19:08:02 +03:30
committed by GitHub
parent a7e469c2ea
commit a3fe748c90
3 changed files with 174 additions and 1 deletions

8
src/typings.d.ts vendored
View File

@@ -180,11 +180,19 @@ interface TwoStatePreferenceProps extends PreferenceProps {
type: 'Switch' | 'Checkbox'
}
interface CheckBoxPreferenceProps extends PreferenceProps {}
interface SwitchPreferenceCompatProps extends PreferenceProps {}
interface ListPreferenceProps extends PreferenceProps {
entries: string[]
entryValues: string[]
}
interface MultiSelectListPreferenceProps extends PreferenceProps {
entries: string[]
entryValues: string[]
}
interface EditTextPreferenceProps extends PreferenceProps {
dialogTitle: string
dialogMessage: string