JSFiddle - React, Tailwind, and code Playground

JavaScript

import React, { Component } from 'react';
import { connect } from 'react-redux';
import { actions } from 'react-native-navigation-redux-helpers';
import { Container, Header, Title, Content, Button, Icon, Footer } from 'native-base';
import { Platform, WebView } from 'react-native';

import FooterTabs from '../../components/footerTabs/FooterTabs';

import { openDrawer } from '../../actions/drawer';
import { setWebsiteUrl } from '../../actions/website';
import styles from './styles';

const {
  pushRoute,
  popRoute,
} = actions;

class Website extends Component {
  constructor(props, context) {
    super(props, context);

    this.state = {};

    this.openFrame = this.openFrame.bind(this);
  }

  popRoute() {
    this.props.popRoute(this.props.navigation.key);
  }

  pushRoute(route, index) {
    this.props.pushRoute({ key: route, index: 1 }, this.props.navigation.key);
  }

  openFrame(url, name) {
    this.props.setWebsiteUrl(url, name);

    this.pushRoute('website', 2);
  }

  render() {
    const { props } = this;
    const { website, totalQuantity } = props;
    const { frameUrl, frameName } = website;

    return (
      <Container style={styles.container} theme={deenTheme}>
        <Header toolbarDefaultBg="#FFF" toolbarTextColor="FBFAFA">
          <Button transparent onPress={this.props.openDrawer}>
            <Icon name="ios-menu" />
          </Button>
          <Title style={styles.headerText}>{frameName}</Title>
          <Button transparent onPress={() => this.openFrame('/cart', 'Winkelwagen')}>
            <Icon style={{ fontSize: 25 }} name="md-basket" />
          </Button>
          <Button transparent>
            <Icon style={{ fontSize: 25 }} name="md-search" />
          </Button>
        </Header>
        <Content>
          <WebView
            source={{ uri: frameUrl }}
            startInLoadingState
            javaScriptEnabledAndroid
            javaScriptEnabled
            domStorageEnabled
            scrollEnabled
           ...