def create(cls, *children, **props):
        """Create an Input component.

        Args:
            *children: The children of the component.
            **props: The properties of the component.

        Returns:
            The component.
        """
        value = props.get("value")

        # React expects an empty string(instead of null) for controlled inputs.
        if value is not None:
            value_var = Var.create(value)
            props["value"] = ternary_operation(
                value_var.is_not_none(), value_var, Var.create("")
            )

        if cls is Input:
            input_type = props.get("type")

            if input_type == "checkbox":
                # Checkbox inputs should use the CheckboxInput class
                return CheckboxInput.create(*children, **props)

            if input_type == "number" or input_type == "range":
                # Number inputs should use the ValueNumberInput class
                return ValueNumberInput.create(*children, **props)

        return super().create(*children, **props)
Create an Input component.

        Args:
            *children: The children of the component.
            **props: The properties of the component.

        Returns:
            The component.
        
reflex/components/el/elements/forms.py