584 B
584 B
title |
---|
millimeter |
While we recommend using percentages where possible, sometimes that doesn't make sense.
For those cases, you can use a millimeter option which should be an object with these properties:
mm
: The default value in millimetermin
: The minimul that's allowedmax
: The maximum that's allowed
options: {
elasticWidth: {
mm: 35,
min: 5,
max: 80
}
}
When to use a millimeter option
You should only use millimeter when the option refers to a physical object that comes in certain sizes.