From 8168146d1a5fb34d1aa040a892d67a25fcbef31c Mon Sep 17 00:00:00 2001 From: Oleksandr Fediashov Date: Mon, 27 Jul 2020 10:31:03 +0200 Subject: [PATCH] feat(Flag): include "england" as a valid value (#3996) --- docs/src/examples/elements/Flag/Types/FlagExampleTable.js | 1 + src/elements/Flag/Flag.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docs/src/examples/elements/Flag/Types/FlagExampleTable.js b/docs/src/examples/elements/Flag/Types/FlagExampleTable.js index 61c070e659..466c0e0193 100644 --- a/docs/src/examples/elements/Flag/Types/FlagExampleTable.js +++ b/docs/src/examples/elements/Flag/Types/FlagExampleTable.js @@ -68,6 +68,7 @@ const countries = [ { name: 'Ecuador', countryCode: 'ec' }, { name: 'Egypt', countryCode: 'eg' }, { name: 'El Salvador', countryCode: 'sv' }, + { name: 'England', countryCode: 'gb eng' }, { name: 'Equatorial Guinea', countryCode: 'gq' }, { name: 'Eritrea', countryCode: 'er' }, { name: 'Estonia', countryCode: 'ee' }, diff --git a/src/elements/Flag/Flag.js b/src/elements/Flag/Flag.js index e6c35dc5f8..96bc1b1d58 100644 --- a/src/elements/Flag/Flag.js +++ b/src/elements/Flag/Flag.js @@ -132,6 +132,8 @@ export const names = [ 'algeria', 'ec', 'ecuador', + 'england', + 'gb eng', 'ee', 'estonia', 'eg',