UNPKG

react-phone-input-pro

Version:

Phone number input component for react to format phone numbers according to selected countries in real time.

24 lines (23 loc) 1.65 kB
import s from '../styles/index.module.css'; export const FORM_CLASS = s.react_number_formatter_form; export const FORM_FOCUS_CLASS = s.border_onfocus_react_number_formatter; export const BORDER_RED = s.border_red_react_number_formatter; export const BORDER_GREEN = s.border_green_react_number_formatter; export const PHONE_INPUT_CLASS = s.react_number_formatter_input; export const DROPDOWN_PARENT_CLASS = s.react_number_formatter_dropdown_parent; export const DROPDOWN_TOP_CLASS = s.react_number_formatter_dropdown_content_top; export const DROPDOWN_BUTTON_CLASS = `${s.react_number_formatter_dropbtn} ${s.zoom}`; export const DROPDOWN_BUTTON_OFF_CLASS = s.react_number_formatter_dropbtn_false; export const DROPDOWN_BUTTON_FOCUS_CLASS = s.onfocus_react_number_formatter_dropbtn; export const DROPDOWN_BUTTON_TEXT_CLASS = s.react_number_formatter_dropbtn_text; export const DROPDOWN_ARROW_PARENT_CLASS = s.react_number_formatter_arrow_parent; export const DROPDOWN_SEARCH_OFF_CLASS = s.react_number_formatter_option_no_search; export const SELECTED_FLAG_CLASS = s.react_number_formatter_selected_flag; export const FLAG_CLASS = s.react_number_formatter_flag; export const LIST_CLASS = s.react_number_formatter_dropdown_content; export const LIST_ITEM_CLASS = s.react_number_formatter_dropdown_content_child; export const LIST_ITEM_BUTTON_CLASS = s.react_number_formatter_option; export const NO_OPTION_CLASS = s.react_number_formatter_no_option; export const DROPDOWN_INPUT_PARENT_CLASS = s.react_number_formatter_dropdown_input_parent; export const DROPDOWN_INPUT_CLASS = s.react_number_formatter_dropdown_input; export const SHOW_CLASS = s.show;