Skip to content

Kirby 5.0.4

new Component()

new Component(string $component, string|null $class = null, string|null $style = null, ...$attrs)

Parameters

Name Type Default
$componentrequired string no default value
$class stringornull null
$style stringornull null
...$attrs mixed no default value

Parent class

Kirby\Panel\Ui\Component