AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Você não pode selecionar mais de 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
| 123456789101112 |
- import type { InertiaLinkProps } from '@inertiajs/react';
- import { clsx } from 'clsx';
- import type { ClassValue } from 'clsx';
- import { twMerge } from 'tailwind-merge';
-
- export function cn(...inputs: ClassValue[]) {
- return twMerge(clsx(inputs));
- }
-
- export function toUrl(url: NonNullable<InertiaLinkProps['href']>): string {
- return typeof url === 'string' ? url : url.url;
- }
|