module C0 = {
  @res.jsxComponentProps
  type props<'a, 'b> = {
    a?: 'a,
    b?: 'b,
  }
  let make = ({a: ?__a, b: ?__b, _}: props<_, _>) => {
    let __a_value = switch __a {
    | Some(a) => a
    | None => 2
    }
    let a = __a_value
    let __b_value = switch __b {
    | Some(b) => b
    | None => a * 2
    }
    let b = __b_value
    (React.int(a + b): React.element)
  }
  let make = {
    let \"DefaultValueProp$C0" = (props: props<_>) => make(props)
    \"DefaultValueProp$C0"
  }
}

module C1 = {
  @res.jsxComponentProps
  type props<'a, 'b> = {
    a?: 'a,
    b: 'b,
  }

  let make = ({a: ?__a, b, _}: props<_, _>) => {
    let __a_value = switch __a {
    | Some(a) => a
    | None => 2
    }
    let a = __a_value
    (React.int(a + b): React.element)
  }
  let make = {
    let \"DefaultValueProp$C1" = (props: props<_>) => make(props)

    \"DefaultValueProp$C1"
  }
}

module C2 = {
  let a = "foo"
  @res.jsxComponentProps
  type props<'a> = {
    a?: 'a,
  }

  let make = ({a: ?__a, _}: props<_>) => {
    let __a_value = switch __a {
    | Some(a) => a
    | None => a
    }
    let a = __a_value
    (React.string(a): React.element)
  }
  let make = {
    let \"DefaultValueProp$C2" = (props: props<_>) => make(props)

    \"DefaultValueProp$C2"
  }
}

module C3 = {
  @res.jsxComponentProps
  type props<'disabled> = {
    disabled?: 'disabled,
  }

  let make = ({disabled: ?__disabled, _}: props<bool>) => {
    let __disabled_value = switch __disabled {
    | Some(disabled) => disabled
    | None => false
    }
    let everythingDisabled: bool = __disabled_value
    (
      {
        React.string(everythingDisabled ? "true" : "false")
      }: React.element
    )
  }
  let make = {
    let \"DefaultValueProp$C3" = (props: props<_>) => make(props)

    \"DefaultValueProp$C3"
  }
}
