14 lines
441 B
TypeScript
14 lines
441 B
TypeScript
import React from 'react'
|
|
import { twMerge } from 'tailwind-merge'
|
|
import { IComponentBaseProps } from '@/components/types'
|
|
|
|
export type CardActionsProps = React.HTMLAttributes<HTMLDivElement> &
|
|
IComponentBaseProps
|
|
|
|
const CardActions = React.forwardRef<HTMLDivElement, CardActionsProps>(
|
|
({ className, ...props }, ref) => (
|
|
<div {...props} className={twMerge('card-actions', className)} ref={ref} />
|
|
)
|
|
)
|
|
|
|
export default CardActions |