Skip to content

Adds percentage width, background color and fixes#6

Open
wassgha wants to merge 3 commits into
rafaelmotta:masterfrom
wassgha:master
Open

Adds percentage width, background color and fixes#6
wassgha wants to merge 3 commits into
rafaelmotta:masterfrom
wassgha:master

Conversation

@wassgha

@wassgha wassgha commented Sep 1, 2018

Copy link
Copy Markdown
  • Now takes any supported width unit (percentages, pixels, etc.)
  • Makes the width prop optional (defaults to '100%')
  • Takes into account the maxValue when calculating the percentage (used to be wrong)
  • Added style for the background color of the component itself (used to be only transparent)

@wassgha

wassgha commented Sep 1, 2018

Copy link
Copy Markdown
Author

@rafaelmotta please review

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

Successfully merging this pull request may close these issues.

1 participant