Documentation

DividerIcon extends Component
in package

Table of Contents

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

Properties

Methods

__construct()

Create a new DividerIcon component instance.

public __construct(string $label, string $icon) : void
Parameters
$label : string

The text to display in the divider

$icon : string

The icon to display alongside the label

Return values
void

render()

Get the view / contents that represent the component.

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

Search results