CircleFlag
CircleFlag component documentation.
Usage
import { CircleFlag } from "@aqqo/aqqo-ui";
<CircleFlag countryCode="US" />
Props
Prop | Type | Default | Description |
---|---|---|---|
countryCode | string | "xx" | Flag code to display. Falls back to "xx" if unknown. |
height | number | 100 | Rendered image height in pixels. |
cdnUrl | string | - | Base URL used to load the flag image. |
cdnSuffix | string | - | Optional path segment inserted between base URL and code. |
className | string | - | Additional CSS classes applied to the image. |
...imgProps | ImgHTMLAttributes<HTMLImageElement> | - | Any standard HTML image attributes (e.g., alt, width, style). |