()
| 38 | } |
| 39 | |
| 40 | const Example = (): JSX.Element => { |
| 41 | return ( |
| 42 | <AnimatorGeneralProvider disabled={false} dismissed={false} duration={{ enter: 2, exit: 2 }}> |
| 43 | <Animator root active> |
| 44 | <Animated |
| 45 | className="relative flex size-full text-center" |
| 46 | animated={{ |
| 47 | transitions: { |
| 48 | entering: { |
| 49 | width: ['50%', '100%'], |
| 50 | height: ['100%', '25%'], |
| 51 | easing: 'steps(5, end)', |
| 52 | repeat: Infinity, |
| 53 | direction: 'alternate' |
| 54 | } |
| 55 | } |
| 56 | }} |
| 57 | > |
| 58 | <FrameBase settings={frameSettings} /> |
| 59 | <div className="relative m-auto p-4">Futuristic Sci-Fi UI Web Framework</div> |
| 60 | </Animated> |
| 61 | </Animator> |
| 62 | </AnimatorGeneralProvider> |
| 63 | ) |
| 64 | } |
| 65 | |
| 66 | const ExampleFrameCustom = (): JSX.Element => { |
| 67 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected