Current File : /home/natitnen/hintact.com/wp-content/plugins/really-simple-ssl/settings/src/utils/Flag/Flag.js
import * as Flags from './Flags';

const Flag = ({ countryCode, style, title }) => {
  const FlagComponent = Flags[countryCode];
  return FlagComponent ? <span title={title} ><FlagComponent style={style} /></span> : (
      <span title={title}>{countryCode}</span>
  );
};

export default Flag;