mirror of
https://github.com/penxio/penx.git
synced 2026-04-19 03:03:06 -04:00
12 lines
374 B
TypeScript
12 lines
374 B
TypeScript
import { ReactNode } from 'react'
|
|
import { HTMLMotionProps, motion } from 'motion/react'
|
|
import { Button, ButtonProps } from '@penx/uikit/button'
|
|
|
|
export const MotionButton: (
|
|
props: HTMLMotionProps<'button'> & ButtonProps,
|
|
) => ReactNode = motion(Button) as any
|
|
|
|
export const MotionBox: (
|
|
props: HTMLMotionProps<'div'> & ButtonProps,
|
|
) => ReactNode = motion.div as any
|