Skip to content

Commit

Permalink
feat: moved cn function to toast, npmignore lib again
Browse files Browse the repository at this point in the history
  • Loading branch information
mvriu5 committed Jul 31, 2024
1 parent 890777d commit 9fb4924
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/node_modules
/src/app
/src/lib
/.idea
/.github
/public
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "griller",
"license": "MIT",
"version": "1.0.5",
"version": "1.0.6",
"private": false,
"repository": {
"url": "https://github.com/mvriu5/griller"
Expand Down
5 changes: 4 additions & 1 deletion src/component/toast.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
"use client";

import React, {HTMLAttributes, ReactNode, useEffect, useRef, useState} from "react";
import {cn} from "@/lib/utlis";
import {X} from "lucide-react";
import {AnimatePresence, motion} from "framer-motion";
import clsx, {ClassValue} from "clsx";
import {twMerge} from "tailwind-merge";

export const cn = (...classes: ClassValue[]) => twMerge(clsx(classes));

type Position = "tr" | "tl" | "tc" | "br" | "bl" | "bc";

Expand Down
4 changes: 0 additions & 4 deletions src/lib/utlis.ts

This file was deleted.

0 comments on commit 9fb4924

Please sign in to comment.