Menu

## Countries extends Component
in package
uses WithPagination

Countries.php : 22

Class Countries

Livewire component responsible for managing and displaying the list of countries in the Admin Settings section.

Features:

- Search countries by name
- Paginated country listing

### Table of Contents

#### Properties

$search : string
  Search keyword used to filter countries by name.

#### Methods

render() : View
  Render the Livewire component view.
updatedSearch() : void
  Livewire hook triggered when the search property is updated.

### Properties

#### $search

Countries.php : 31

Search keyword used to filter countries by name.

`public string $search = ''`

### Methods

#### render()

Countries.php : 41

Render the Livewire component view.

`public render() : View`

Builds the country query with optional search filtering and returns paginated results.

##### Return values

View

#### updatedSearch()

Countries.php : 66

Livewire hook triggered when the search property is updated.

`public updatedSearch() : void`

Resets pagination to the first page whenever the search keyword changes.

## Search results