-
-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hi
i am passing these properties but none of them are taking effect the checkboxProps i want to set the component use android style checkboxes, it would be really nice if you add such option to the library. Thank You
checkboxProps={{
checkboxMode: 'android',
checkboxColor: 'purple',
checkboxUncheckedColor: 'blue',
}}
<PaperSelect
label={i18n.t("general.selectProject", {
defaultValue: "Select project",
})}
value={project.value}
onSelection={(item) => {
setProject({
...project,
value: item.text,
selectedList: item.selectedList,
error: "",
});
}}
arrayList={[...project.list]}
selectedArrayList={project.selectedList}
errorText={project.error}
multiEnable={false}
checkboxProps={{
checkboxMode: 'android',
checkboxColor: 'purple',
checkboxUncheckedColor: 'blue',
}}
theme={{ colors: { primary: theme.colors.primary } }}
dialogCloseButtonText={i18n.t("general.close", {
defaultValue: "Close",
})}
dialogDoneButtonText={i18n.t("general.done", {
defaultValue: "Done",
})}
/>