Component Properties

I have create a new component and I am trying to expose a property and function to the blueprint graph. Here is a bit of the code:

UCLASS(meta = (BlueprintSpawnableComponent))
class UMyActorComponent : public UActorComponent
{
	GENERATED_BODY()
	
public:
	UMyActorComponent(const FObjectInitializer& ObjectInitializer);
	virtual void TickComponent(float DeltaTime, enum ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override;

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Blah)
	int32 MyNumber;

	/** Toggles the light component's visibility*/
	UFUNCTION()
	void ToggleLight();
	
protected:
	virtual void OnRegister();
	
};

I would expect MyNumber and ToggleLight to be accessible from the BluePrint graph but all I see is the Component as a variable.