Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
Model wraps the Bubble Tea textinput model with additional functionality and styling options provided by the Sugarfoam framework.
type Option ¶
type Option func(*Model)
Option is a type for functions that modify a text input model.
func WithPlaceholder ¶
WithPlaceholder sets the placeholder text for the text input.
func WithStyles ¶
WithStyles sets the styles for the text input using the provided styles.
Click to show internal directories.
Click to hide internal directories.