Skip to content

DynamicFlagProps

Defined in: index.tsx:278

Base props for all flag components All individual flag components inherit from this type

optional className: string;

Defined in: index.tsx:70

CSS className

FlagComponentProps.className


code: string;

Defined in: index.tsx:280

ISO country code (e.g., ‘us’, ‘cn’, ‘gb’)


optional height: string | number;

Defined in: index.tsx:68

Height of the flag

DynamicFlagProps.height


optional title: string;

Defined in: index.tsx:72

Accessible title for screen readers

FlagComponentProps.title


optional width: string | number;

Defined in: index.tsx:66

Width of the flag

DynamicFlagProps.width