button
function adds a clickable button to your app.
Parameters
label
(str): The text displayed on the buttonsize
(float): (Optional) The width of the component in a row. Defaults to1.0
(full row). See the Layout Guide for details.
Returns
- Returns a button component object (Note: Button functionality is currently under development)
Usage Example
Here’s an example of how to add a button to your app:Key Features
- Customizable Label: Set the text that appears on the button
- Flexible Layout: Control the button’s width in the layout