Skip to main content
DefaultCountryDialog component

Props

open
boolean
required
open
onOpenChange
(open: boolean) => void
required
onOpenChange
currentCountry
string
required
currentCountry
onSuccess
(newCountry: string) => void
onSuccess

Usage

import { DefaultCountryDialog } from '@/components/DefaultCountryDialog';

export default function Example() {
  return (
    <DefaultCountryDialog open={open} onOpenChange={onOpenChange} currentCountry={currentCountry} />
  );
}