## Install
``bash`
npm install --save react-js-country-flagsResult

Pass the country code or dial_code to get details/flag/flag emoji
`jsx
import React from "react"
import {getFlagsByDialCode,getFlagByCountryName,getFlagEmojiByCountryName,getCountryDetailsByName} from "react-js-country-flags";
function App() {
const countryList1 = getFlagsByDialCode("+1")
const countryList91 = getFlagsByDialCode("+91")
return (
Country flag by dial code +1 : {JSON.stringify(countryList1)}
Country flag by dial code +91 : {JSON.stringify(countryList91)}
Country flag by name US
country Emoji {getFlagEmojiByCountryName("in")}
Country details by name IN : {JSON.stringify(getCountryDetailsByName("in"))}
export default App;
``
Try this out and conditionally render your country flag
https://github.com/danalloway/detect-emoji-support
MIT © UdaySubbisetty