import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { ProgressBar, Card, CardTitle, CardText, Icon, Grid, Cell } from 'react-mdl'; import { AppsLinkList, styles as commonStyles } from '../common'; const Empty = () => (

Oh snap, it does not seem like you have connected any applications. To connect your application to Unleash you will require a Client SDK.

You can read more about the available Client SDKs in the{' '} documentation.
); class ClientStrategies extends Component { static propTypes = { applications: PropTypes.array, fetchAll: PropTypes.func.isRequired, }; componentDidMount() { this.props.fetchAll(); } render() { const { applications } = this.props; if (!applications) { return ; } return ( {applications.length > 0 ? : } ); } } export default ClientStrategies;