Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Custom components #4

Open
silvioviscuso opened this issue Apr 20, 2021 · 1 comment
Open

Custom components #4

silvioviscuso opened this issue Apr 20, 2021 · 1 comment

Comments

@silvioviscuso
Copy link

hi how can I create a spokestack assistant by customizing the microphone icon and the other components styled to my liking?

@timmywil
Copy link
Member

Thanks for opening an issue! There are several customization options that change the overall look of the tray. Here's a list:

  • buttonWidth
  • fontFamily
  • gradientColors
  • orientation
  • primaryColor
  • soundOffImage (when silent is true)
  • soundOnImage (when silent is false)
  • startHeight
  • style (a RN style prop passed to the tray's container)

There is not currently a way to change the mic icon, but I can go ahead and add that.

At a certain point, it makes more sense to roll your own component and copy some of the code from this repo, depending on how custom. That said, we're open to adding more customization options, and we can start with the mic image.

Do you have any other specific things in mind you'd like to customize?

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

No branches or pull requests

2 participants