// Generated by ReScript, PLEASE EDIT WITH CARE


function Alias_default_value_test$C0(props) {
  let __b = props.b;
  let __a = props.a;
  let a = __a !== undefined ? __a : 2;
  let b = __b !== undefined ? __b : (a << 1);
  return a + b | 0;
}

let C0 = {
  make: Alias_default_value_test$C0
};

function Alias_default_value_test$C1(props) {
  let __bar = props.foo;
  if (__bar !== undefined) {
    return __bar;
  } else {
    return "";
  }
}

let C1 = {
  make: Alias_default_value_test$C1
};

function Alias_default_value_test$C2(props) {
  let __a = props.a;
  let __bar = props.foo;
  let bar = __bar !== undefined ? __bar : "";
  let a = __a !== undefined ? __a : bar;
  return bar + a + props.b;
}

let C2 = {
  make: Alias_default_value_test$C2
};

function Alias_default_value_test$C3(props) {
  let __text = props.text;
  if (__text !== undefined) {
    return __text;
  } else {
    return "Test";
  }
}

let C3 = {
  make: Alias_default_value_test$C3
};

function Alias_default_value_test$C4(props) {
  return props.a;
}

let C4 = {
  make: Alias_default_value_test$C4
};

function Alias_default_value_test$C6(props) {
  return props.comp.xx;
}

let C6 = {
  make: Alias_default_value_test$C6
};

function Alias_default_value_test$C7(props) {
  'use memo';
  let username = props.username;
  let count = props.count;
  let times = count !== 1 ? (
      count !== 2 ? String(count) + " times" : "twice"
    ) : "once";
  let name = username !== undefined && username !== "" ? username : "Anonymous";
  return `Hello ` + name + `, you clicked me ` + times;
}

let C7 = {
  make: Alias_default_value_test$C7
};

function Alias_default_value_test$C8(props) {
  'use memo';
  return props.count;
}

let C8 = {
  make: Alias_default_value_test$C8
};

export {
  C0,
  C1,
  C2,
  C3,
  C4,
  C6,
  C7,
  C8,
}
/* No side effect */
