appnexus / lucid

A UI component library from Xandr.

Home Page:https://appnexus.github.io/lucid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bar component doesn't support width and height in percentage unit

beyonddream opened this issue · comments

commented

Bar component uses <rect> for its internal implementation. While <rect> accepts both length and percentage type for width and height, the propTypes of Bar only accepts length (number). This causes React to print console warnings if percentage (string) is passed to the component.

commented

I am working on the fix for this.