IconLabel
extends Component
in package
Table of Contents
- $icon : string
- __construct() : void
- Create a new IconLabel component instance.
- render() : View|Closure|string
- Get the view / contents that represent the component.
Properties
$icon
public
string
$icon
Methods
__construct()
Create a new IconLabel component instance.
public
__construct(string $icon) : void
Parameters
- $icon : string
-
The name/class of the icon to display
Return values
void —render()
Get the view / contents that represent the component.
public
render() : View|Closure|string