mirror of
https://github.com/penxio/penx.git
synced 2026-01-12 23:18:09 -05: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
|