How to use the @freesewing/utils/formatMm function in @freesewing/utils

To help you get started, we’ve selected a few @freesewing/utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github freesewing / freesewing / packages / components / src / DraftConfigurator / DraftSettingSa / index.js View on Github external
max={25.4}
          step={sliderStep[props.units]}
        />
      
    )
  return (
    <li>
      
          props.raiseEvent('showHelp', {
            type: 'draftSetting',
            value: 'sa'
          })
        }
        option={option}
        noDocs={props.noDocs}
      /&gt;
    </li>
  )
github freesewing / freesewing / packages / components / src / DraftConfigurator / PatternOptionMillimeter / index.js View on Github external
step={sliderStep[props.units]}
      onChange={update}
      label={"po-mm-" + props.name}
      updateValue={update}
    /&gt;
  );

  return (
    <li>
      
          props.raiseEvent("showHelp", {
            type: "patternOption",
            value: props.name
          })
        }
        option={option}
        noDocs={props.noDocs}
      /&gt;
    </li>
  );
};
github freesewing / freesewing / packages / components / src / DraftConfigurator / DraftSettingMargin / index.js View on Github external
min={0}
      max={25.4}
      step={sliderStep[props.units]}
    /&gt;
  )

  return (
    <li>
      
          props.raiseEvent('showHelp', {
            type: 'draftSetting',
            value: 'margin'
          })
        }
        option={option}
        noDocs={props.noDocs}
      /&gt;
    </li>
  )