import { AppleHelloEffect } from '@hanzo/ui'
The word "Hello" revealing itself one letter at a time.
export function Default() {return (<YStack items="center" justify="center" minH={200}><AppleHelloEffect /></YStack>)}
Any string works, split the same way.
export function CustomText() {return (<YStack items="center" justify="center" minH={200}><AppleHelloEffect text="Hanzo" /></YStack>)}
A shorter `duration` makes each letter's rise snappier.
export function Faster() {return (<YStack items="center" justify="center" minH={200}><AppleHelloEffect text="Fast" duration={0.6} /></YStack>)}
export type AppleHelloEffectProps = React.ComponentProps<'div'> & {/** The string to reveal, one letter at a time. */text?: string/** Seconds each letter's own rise takes. */duration?: number}