TagIcon
extends Component
in package
Table of Contents
- $class : string
- $icon : string
- $size : string
- $title : string|null
- $value : string
- __construct() : mixed
- Create a new component instance.
- render() : View|Closure|string
- Get the view / contents that represent the component.
Properties
$class
public
string
$class
= 'info'
$icon
public
string
$icon
$size
public
string
$size
= 'normal'
$title
public
string|null
$title
= null
$value
public
string
$value
Methods
__construct()
Create a new component instance.
public
__construct(string $icon, string $value[, string $size = 'normal' ][, string $class = 'info' ][, string|null $title = null ]) : mixed
Parameters
- $icon : string
- $value : string
- $size : string = 'normal'
- $class : string = 'info'
- $title : string|null = null
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|Closure|string