Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

theme dark doesn't work #62

Open
luigbren opened this issue Apr 27, 2020 · 0 comments
Open

theme dark doesn't work #62

luigbren opened this issue Apr 27, 2020 · 0 comments

Comments

@luigbren
Copy link

luigbren commented Apr 27, 2020

hello, I'm trying to configure the Theme Dark in SheetView but it doesn't work... I put theme: "dark", and also theme: "Dark", but it always loads the Theme light, tested in Mobil and android emulator 9 and 10


EDIT..
I can configure a theme in a manual way sending by Props the desired values, but I can't find the way to configure the color of the Title, in this example it is: "Awesome Component!"

let facebook = <Icon family={'FontAwesome'} name={'facebook'} color={'#000000'} size={30} />
let instagram = <Icon family={'FontAwesome'} name={'instagram'} color={'#000000'} size={30} />
let SheetView = RNBottomActionSheet.SheetView;

SheetView.Show({
  title: "Awesome Component!",
  items: [
    { title: "Facebook", value: "fb", subTitle: "Facebook Description", icon: facebook },
    { title: "Instagram", value: "insta", subTitle: "Instagram Description", icon: instagram },
  ],
  selection: 3,
  backgroundColor: "#353535", // color backcolor PROPS OK
  titleTextColor: "#dc0000", // color PROPS NO doesn't make any difference
  itemTextColor: "#1ecdcd", // color itemTextColor PROPS OK
  itemTintColor: "#1ecdcd", // color iconos PROPS OK
  onSelection: (index, value) => {
    // value is optional
    console.log("selection: " + index + " " + value);
  },
  onCancel: () => console.log('Closing the bottom SheetView!!!')
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant