def get_prop_vars(self) -> list[Var | Callable]:
        """Get the prop vars.

        Returns:
            The prop vars.
        """
        return [
            Var(
                _js_expr=name,
                _var_type=(prop._var_type if isinstance(prop, Var) else type(prop)),
            ).guess_type()
            if isinstance(prop, Var) or not isinstance(prop, EventChain)
            else CustomComponent._get_event_spec_from_args_spec(name, prop)
            for name, prop in self.props.items()
        ]
Get the prop vars.

        Returns:
            The prop vars.
        
reflex/components/component.py