Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCounterControls ¶
func CreateCounterControls(props CounterControlsProps) (bubbly.Component, error)
CreateCounterControls creates a component with action buttons This demonstrates: - Callback props for parent communication - Using BubblyUI Button components - Event handling pattern
func CreateCounterDisplay ¶
func CreateCounterDisplay(props CounterDisplayProps) (bubbly.Component, error)
CreateCounterDisplay creates a component that displays the current count This demonstrates: - Component factory pattern - Props-based composition - Using BubblyUI Card component - Exposing state for dev tools inspection
Types ¶
type CounterControlsProps ¶
type CounterControlsProps struct {
OnIncrement func()
OnDecrement func()
OnReset func()
}
CounterControlsProps defines the props for CounterControls component
Click to show internal directories.
Click to hide internal directories.