596 B
596 B
Flag
(component)
Use the Flag
component to display a country's flag using the operating system's emojis.
React component.
Props
code
- Type: String
- Default: null
Two letter, three letter or three digit country code.
order
- Type: Object
- Default: null
An order can be passed instead of code
and the code will automatically be pulled from the billing or shipping data.
className
- Type: String
- Default: null
Additional CSS classes.
size
- Type: Number
- Default: null
Supply a font size to be applied to the emoji flag.