import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { ProgressBar, Card, CardText, Icon } from 'react-mdl'; import { AppsLinkList, styles as commonStyles } from '../common'; import SearchField from '../common/search-field'; 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, settings: PropTypes.object.isRequired, updateSetting: PropTypes.func.isRequired, }; componentDidMount() { this.props.fetchAll(); } render() { const { applications } = this.props; if (!applications) { return ; } return (
{applications.length > 0 ? : }
); } } export default ClientStrategies;