package com.reactnativenavigation.mocks;

import android.content.Context;
import android.view.View;

import com.reactnativenavigation.parse.NavigationOptions;
import com.reactnativenavigation.views.ReactComponent;
import com.reactnativenavigation.views.TopBar;

public class TestComponentView extends View implements ReactComponent {

	private TopBar topBar;

	public TestComponentView(final Context context) {
		super(context);
		topBar = new TopBar(context, this);

	}

	@Override
	public boolean isReady() {
		return false;
	}

	@Override
	public View asView() {
		return this;
	}

	@Override
	public void destroy() {
	}

	@Override
	public void sendComponentStart() {
	}

	@Override
	public void sendComponentStop() {
	}

    @Override
    public void applyOptions(NavigationOptions options) {

    }

    @Override
    public void sendOnNavigationButtonPressed(String id) {

    }

    @Override
    public TopBar getTopBar() {
        return topBar;
    }
}
