AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
| 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;
- }
|