cycles-quartz/apps/transfers/frontend/scripts/templates/NewComponent.tsx

25 lines
407 B
TypeScript
Raw Normal View History

2024-07-10 19:11:07 +00:00
import { ComponentProps } from 'react'
import { twMerge } from 'tailwind-merge'
interface NewComponentProps extends ComponentProps<'div'> {}
export function NewComponent({
children,
className,
...otherProps
}: NewComponentProps) {
return (
<div
className={twMerge(
`
`,
className,
)}
{...otherProps}
>
{children}
</div>
)
}