Skip to content

Commit

Permalink
fix: align class value with tailwind-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
marbemac authored and mskelton committed Sep 6, 2023
1 parent 35c7854 commit 39f3a8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type {ClassNameValue} from "tailwind-merge";

import {TVConfig, TWMConfig} from "./config";
import {TVGeneratedScreens} from "./generated";

Expand All @@ -7,7 +9,7 @@ import {TVGeneratedScreens} from "./generated";
* ----------------------------------------
*/

export type ClassValue = string | string[] | null | undefined | ClassValue[];
export type ClassValue = ClassNameValue;

export type ClassProp<V extends unknown = ClassValue> =
| {
Expand Down

0 comments on commit 39f3a8a

Please sign in to comment.