{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "billing-address-data",
  "type": "registry:lib",
  "title": "Billing Address Data",
  "description": "Billing Address Data component",
  "files": [
    {
      "path": "src/registry/lib/billing-address-data.ts",
      "content": "import { Country, type ICountry, type IState, State } from \"country-state-city\";\n\n/** All countries sorted alphabetically */\nexport const COUNTRIES: ICountry[] = Country.getAllCountries().sort((a, b) =>\n  a.name.localeCompare(b.name),\n);\n\n/** Get states/provinces for a country by ISO code */\nexport function getStatesForCountry(countryCode: string): IState[] {\n  return State.getStatesOfCountry(countryCode);\n}\n\nexport type { ICountry, IState };\n",
      "type": "registry:lib",
      "target": "lib/billing-address-data.ts"
    }
  ]
}