/* @flow */ import React from 'react'; import styled from 'styled-components'; import Facebook from './Facebook'; import Github from './Github'; import Google from './Google'; import Twitter from './Twitter'; import LinkedIn from './LinkedIn'; const SocialList = styled.ul` padding-left: 0; list-style-type: none; display: inline-flex; justify-content: space-between; `; const SocialItem = styled.li` padding-left: 0; `; export type Props = { facebook: ?boolean, fburl: ?string, twitter: ?boolean, turl: ?string, github: ?boolean, ghurl: ?string, google: ?boolean, gurl: ?string, linkedin: ?boolean, lurl: ?string, }; const Social = (props: Props) => { return ( {props.facebook ? : null} {props.twitter ? : null} {props.github ? : null} {props.google ? : null} {props.linkedin ? : null} ); }; export default Social;