How to use the @freesewing/utils.storage.set 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 / Workbench / index.js View on Github external
const saveMeasurements = data => {
    storage.set(props.config.name + "-measurements", data);
    props.updateGist(data, "settings", "measurements");
  };
  const updateMeasurement = (name, val) => {
github freesewing / freesewing / packages / components / src / Workbench / index.js View on Github external
const saveDisplay = d => {
    setDisplay(d);
    storage.set(props.config.name + "-display", d);
  };
  const getMeasurements = () =>