itemWidth and offset in relative unitsSee original GitHub issue
Is your feature request related to a problem? Please describe.
I would like to use responsive units (
rem) for both
itemWidth but am unable to due to the restraint of the number prop type and the assignment to
Describe the solution you’d like
It’d be nice if these props were refactored to accept either a number or string - if string, don’t append the
px, if number, do.
Describe alternatives you’ve considered N/A
Additional context N/A
- Created 4 years ago
- Comments:9 (5 by maintainers)