Download Reactive-Resume/libs/utils/src/namespaces/style.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/libs/utils/src/namespaces/style.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/libs/utils/src/namespaces/style.ts
-
curl -L -o style.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Reactive-Resume/libs/utils/src/namespaces/style.ts
285 Bytes
| import type { ClassValue } from "clsx"; | |
| import { clsx } from "clsx"; | |
| import { twMerge } from "tailwind-merge"; | |
| export const breakpoints = { | |
| xs: 0, | |
| sm: 640, | |
| md: 768, | |
| lg: 1024, | |
| xl: 1280, | |
| "2xl": 1400, | |
| }; | |
| export const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs)); | |