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

Style Issue #14

Open
ghost opened this issue May 23, 2018 · 1 comment
Open

Style Issue #14

ghost opened this issue May 23, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented May 23, 2018

the style isn't changed when I change text size or background color, nothing happen.

@ghost
Copy link

ghost commented May 14, 2019

You have to set the options={options} value within the Timer or Stopwatch Component.
Then you have to create a const containing the predefined attributes. Here is a working example:

const options = {
  container: {
    backgroundColor: '#FF0000',
    padding: 5,
    borderRadius: 5,
    width: 200,
    alignItems:'center',
  },
  text: {
    fontSize: 25,
    color: '#FFF',
    marginLeft: 7,
  }
};

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

0 participants