Optionalprops: ConfettiBlockPropsConfiguration object for the confetti component (optional)
A JSX element representing the confetti component
Usage with custom colors
confetti({
height: 300,
colors: ['#FF6B6B', '#4ECDC4', '#45B7D1', '#96CEB4', '#FECA57']
});
Usage with dynamic height based on state
confetti({
height: (state) => state.containerHeight || 300
});
Creates a confetti animation component that displays animated confetti particles.