import React from 'react' ; import { styled } from '@csegames/linaria/react' ; import { HealthBarState } from '..' ; const Container = styled . div `
  font-family: Exo;
  color: white;
  font-size: 16px;
  margin-left: 7px;
  margin-bottom: 2px;
  width: 100%;
  text-shadow: 2px 2px 4px black;
  text-align: center;
` ; export interface Props { state : HealthBarState ; } export function FriendlyHealthBar ( props ) { return ( < Container > { props . state . name } < /Container>); }