import PropTypes from 'prop-types';
import React from 'react';
import { Link } from 'react-router';
import './style.css';
export const UsedByBg = ({ color, style }) => (
);
UsedByBg.propTypes = {
color: PropTypes.string,
// eslint-disable-next-line
style: PropTypes.object,
};
UsedByBg.defaultProps = {
color: 'white',
style: {},
};
const User = ({ logo, demo, site, title }) => (
);
User.propTypes = {
logo: PropTypes.string.isRequired,
demo: PropTypes.string,
site: PropTypes.string.isRequired,
title: PropTypes.string,
};
User.defaultProps = {
demo: '',
title: '',
};
const UsedBy = ({ users }) => (
Used by these fine folks:
{users.map(user => )}
See more examples…
);
UsedBy.propTypes = {
users: PropTypes.array, // eslint-disable-line
};
export default UsedBy;