genControlHeight.js 255 B

1234567891011
  1. const genControlHeight = token => {
  2. const {
  3. controlHeight
  4. } = token;
  5. return {
  6. controlHeightSM: controlHeight * 0.75,
  7. controlHeightXS: controlHeight * 0.5,
  8. controlHeightLG: controlHeight * 1.25
  9. };
  10. };
  11. export default genControlHeight;