[WEB-4661] fix: move helpers file into utils #7568

This commit is contained in:
sriram veeraghanta 2025-08-11 18:42:51 +05:30 committed by GitHub
parent a085c0ec62
commit 047080a66f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
59 changed files with 68 additions and 72 deletions

View file

@ -1,6 +1,6 @@
import * as React from "react";
// helpers
import { cn } from "../../helpers";
import { cn } from "../utils";
export interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
containerClassName?: string;

View file

@ -3,7 +3,7 @@ import * as React from "react";
import { ColorResult, SketchPicker } from "react-color";
import { usePopper } from "react-popper";
// helpers
import { cn } from "../../helpers";
import { cn } from "../utils";
// components
import { Button } from "../button";
import { Input } from "./input";

View file

@ -1,6 +1,6 @@
import * as React from "react";
// helpers
import { cn } from "../../helpers";
import { cn } from "../utils";
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
mode?: "primary" | "transparent" | "true-transparent";

View file

@ -1,6 +1,6 @@
import React, { useRef } from "react";
// helpers
import { cn } from "../../helpers";
import { cn } from "../utils";
// hooks
import { useAutoResizeTextArea } from "../hooks/use-auto-resize-textarea";