Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TextInput ¶
type TextInput interface { components.InteractiveComponent GetValue() string SetValue(value string) TextInput }
func New ¶
func New(opts ...TextInputOpt) TextInput
type TextInputOpt ¶
type TextInputOpt func(input TextInput)
func WithFocus ¶
func WithFocus(isFocused bool) TextInputOpt
func WithValue ¶
func WithValue(value string) TextInputOpt
Click to show internal directories.
Click to hide internal directories.