def install():
    """Install package from this local custom component in editable mode.

    Raises:
        Exit: If unable to install the current directory in editable mode.
    """
    if _pip_install_on_demand(package_name=".", install_args=["-e"]):
        console.info("Package installed successfully!")
    else:
        raise click.exceptions.Exit(code=1)
Install package from this local custom component in editable mode.

    Raises:
        Exit: If unable to install the current directory in editable mode.
    
reflex/custom_components/custom_components.py