Register on Lenra

Element of type Button

typeThe identifier of the componentstring ("button")
textThe value of the text inside the buttonstring
disabledThe button is disabled if trueboolean
leftIconcomponenttypestring ("icon")
mainStyleThe style to use, the component will be changed according to the theme.string ("primary", "secondary", "tertiary")
onPressedBasic Listener
rightIconcomponenttypestring ("icon")
sizeThe size to use, the component will be sized according to the value.string ("small", "medium", "large")