update to js

This commit is contained in:
2025-02-21 19:34:56 -03:00
parent 0187f770c7
commit a557ee6e34
44 changed files with 1015 additions and 2463 deletions

View File

@@ -0,0 +1,18 @@
import { createElement } from 'react'
import clsx from 'clsx'
export function Link({ children, as = 'button', className, ...props }) {
return createElement(
as,
{
className: clsx(
className,
'text-green-primary dark:text-green-secondary underline hover:no-underline',
'disabled:no-underline disabled:cursor-not-allowed disabled:text-gray-400',
'dark:disabled:text-gray-600',
),
...props,
},
children,
)
}