MCPcopy Create free account
hub / github.com/arwes/arwes / Example

Function Example

apps/docs/src/app/docs/develop/react/frames/ExampleFrameCustom.tsx:40–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40const 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
66const ExampleFrameCustom = (): JSX.Element => {
67 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected