Documentation

ContainerLabel extends Component
in package

Table of Contents

$color  : string|null
$height  : int|null
$icon  : string|null
$label  : string|null
__construct()  : void
Create a new ContainerLabel component instance.
render()  : View|Closure|string
Get the view / contents that represent the component.

Properties

Methods

__construct()

Create a new ContainerLabel component instance.

public __construct([string|null $label = null ][, string|null $icon = null ][, string|null $color = null ][, int|null $height = null ]) : void
Parameters
$label : string|null = null

Optional label text for the container

$icon : string|null = null

Optional icon name for the container

$color : string|null = null

Background color class for the label (e.g., 'primary')

$height : int|null = null

Optional fixed height for the container in pixels

Return values
void

render()

Get the view / contents that represent the component.

public render() : View|Closure|string
Return values
View|Closure|string

Search results