Skip to content

HelloWorld

This component shows the simplest possible component, which is displaying a block element with a text inside, which is formatted by Tailwind classes.

Hello world!

In addition, the documentation of this component shows how to present components and elements related to them.

WARNING

The following elements are only a presentation of documenting the possibility of documenting - the HelloWorld component does not contain the elements described below.

Props

size
required
This is a description of this props and it will land in the component's slot
type:Array
default:sm
values:xs, sm, md, lg, xl
text
type:String
default:Hello World

Slots

default
Default text slott

Events

update
Hello World update in the child level
arguments:some value
delete
Removing hello world

Examples

Components like a list
Hello world!
Hello world!
Hello world!
html
<hello-world />
<hello-world />
<hello-world />
Components with props values
xs
Hello world!
sm
Hello world!
md
Hello world!
lg
Hello world!
xl
Hello world!
xxl
Hello world!