Files
netris-nestri/packages/ui/src/react/react-example.tsx
Wanjohi 73cec51728 feat: Add qwik-react (#103)
This adds the following pages:

The landing page (/)
The pricing page (/pricing)
The contact page (/contact)
The changelog page (/changelog)
Terms Of Service page (/terms)
Privacy Policy (/privacy)
2024-08-30 16:19:58 +03:00

28 lines
818 B
TypeScript

/** @jsxImportSource react */
//This is used for testing whether the Qwik React components are working
import { qwikify$ } from "@builder.io/qwik-react"
import { motion } from "framer-motion"
export const ReactExample = () => {
return (
<div>
<motion.div
style={{
width: "100px",
height: "100px",
backgroundColor: "red",
}}
animate={{y:0}}
initial={{y:100}}
// whileHover={{ scale: 1.2, rotate: 90 }}
// whileTap={{
// scale: 0.8,
// rotate: -90,
// borderRadius: "100%"
// }}
/>
</div>
)
}
export const Example = qwikify$(ReactExample)