ContainerIconList
extends Component
in package
Table of Contents
- $items : array<string|int, mixed>
- $label : string
- __construct() : void
- Create a new ContainerIconList component instance.
- render() : View|Closure|string
- Get the view / contents that represent the component.
Properties
$items
public
array<string|int, mixed>
$items
$label
public
string
$label
Methods
__construct()
Create a new ContainerIconList component instance.
public
__construct(string $label, array<string|int, mixed> $items) : void
Parameters
- $label : string
-
The label for the container
- $items : array<string|int, mixed>
-
Array of items where key is the label and value is the icon name Format: ['label' => 'icon']
Return values
void —render()
Get the view / contents that represent the component.
public
render() : View|Closure|string