Icon
extends Component
in package
Table of Contents
- $color : string|null
- $containerSize : string|null
- $size : int
- $title : 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|null
$color
= null
$containerSize
public
string|null
$containerSize
= null
$size
public
int
$size
= 6
$title
public
string|null
$title
= null
Methods
__construct()
Create a new component instance.
public
__construct([int $size = 6 ][, string|null $title = null ][, string|null $color = null ]) : mixed
Parameters
- $size : int = 6
- $title : string|null = null
- $color : string|null = null
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|Closure|string