@mobileaction/action-kit 1.62.1 → 1.62.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { MaSelectOption } from '@/components/select-2/types';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the icon name of a country select option.
|
|
4
|
+
* Uses the option's `flag` when it is given, otherwise builds the flag icon name from the option value.
|
|
5
|
+
*
|
|
6
|
+
* @param option - The country select option.
|
|
7
|
+
* @returns The icon name (e.g. "flag-tr").
|
|
8
|
+
*/
|
|
9
|
+
export declare function getOptionFlagIcon(option: MaSelectOption): string;
|