ContainerLabel
extends Component
in package
Table of Contents
- $color : string
- $height : int|null
- $icon : string|null
- $label : string|null
- __construct() : mixed
- Create a new component instance.
- render() : View|Closure|string
- Get the view / contents that represent the component.
Properties
$color
public
string
$color
= 'light'
$height
public
int|null
$height
= null
$icon
public
string|null
$icon
= null
$label
public
string|null
$label
= null
Methods
__construct()
Create a new component instance.
public
__construct([string|null $label = null ][, string|null $icon = null ][, string $color = 'light' ][, int|null $height = null ]) : mixed
Parameters
- $label : string|null = null
-
Label for the container
- $icon : string|null = null
-
Icon for the container
- $color : string = 'light'
-
Background color of the label
- $height : int|null = null
-
Height of the container, in case of fixed height
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|Closure|string