Info extends Component
Table of Contents
- $align : string
- $classes : string
- $icon : string|null
- $label : string
- $type : string
- $value : string|null
- __construct() : mixed
- Create a new component instance.
- render() : View|string
- Get the view / contents that represent the component.
Properties
$align
public
string
$align
= 'left'
$classes
public
string
$classes
= 'has-text-black'
$icon
public
string|null
$icon
= null
$label
public
string
$label
$type
public
string
$type
= 'text'
$value
public
string|null
$value
= null
Methods
__construct()
Create a new component instance.
public
__construct(string $label[, string $value = null ][, string $icon = null ][, string $type = 'text' ][, string $classes = 'has-text-black' ][, string $align = 'left' ]) : mixed
Parameters
- $label : string
- $value : string = null
- $icon : string = null
- $type : string = 'text'
- $classes : string = 'has-text-black'
- $align : string = 'left'
Return values
mixed —render()
Get the view / contents that represent the component.
public
render() : View|string