Explorar o código

♻️ refactor(ui): rename address-selector to city-selector

- rename file from address-selector.tsx to city-selector.tsx
- update interface from AddressSelectorProps to CitySelectorProps
- rename component from AddressSelector to CitySelector
yourname hai 3 meses
pai
achega
5b95320304
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      mini/src/components/ui/city-selector.tsx

+ 2 - 2
mini/src/components/ui/address-selector.tsx → mini/src/components/ui/city-selector.tsx

@@ -11,7 +11,7 @@ interface City {
   parentId: number
 }
 
-interface AddressSelectorProps {
+interface CitySelectorProps {
   provinceValue?: number
   cityValue?: number
   districtValue?: number
@@ -24,7 +24,7 @@ interface AddressSelectorProps {
   showLabels?: boolean
 }
 
-export const AddressSelector: React.FC<AddressSelectorProps> = ({
+export const CitySelector: React.FC<CitySelectorProps> = ({
   provinceValue,
   cityValue,
   districtValue,