const grow = {
  property: "flex-grow",
  transform: (value) => {
    const valids = [0, 1];
    if (valids.includes(value))
      return value;
    throw new Error("Prop not valid");
  },
};

export default grow;
