UNPKG

@blocklet/payment-react

Version:

Reusable react components for payment kit v2

17 lines (16 loc) 607 B
import type { SxProps } from '@mui/material'; import type { CountryIso2 } from 'react-international-phone'; export type CountrySelectProps = { value: CountryIso2; onChange: (value: CountryIso2) => void; name?: string; sx?: SxProps; showDialCode?: boolean; label?: string; allowClear?: boolean; bordered?: boolean; disabled?: boolean; }; export default function CountrySelect({ ref, value, onChange, name, sx, showDialCode, label, bordered, allowClear, disabled, }: CountrySelectProps & { ref?: React.RefObject<HTMLDivElement | null>; }): import("react").JSX.Element;