Skip to content

Commit

Permalink
feat: new radio component
Browse files Browse the repository at this point in the history
  • Loading branch information
ivalshamkya committed Feb 21, 2024
1 parent c3728b2 commit ce2601e
Show file tree
Hide file tree
Showing 24 changed files with 25 additions and 26 deletions.
2 changes: 1 addition & 1 deletion apps/www/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import Button from "@/components/neobruu/Button";
import { IoLogoGithub } from "react-icons/io";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/CopyCode.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import React, { useState } from "react";
import Button from "./neobruu/Button";
import { IoCheckmark, IoCopy } from "react-icons/io5";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/MobileSidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import { useState } from "react";
import { usePathname } from "next/navigation";
import Link from "next/link";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';

import Link from "next/link";
import { AiFillGithub } from "react-icons/ai";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/Pagination.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import { useRouter } from "next/navigation";
import { FaChevronLeft, FaChevronRight } from "react-icons/fa";
import Button from "@/components/neobruu/Button";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import { usePathname } from "next/navigation";
import components from "@/data/components";
import Link from "next/link";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/example/AccordionExample.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import Accordion from "@/components/neobruu/Accordion";

export default function AccordionExample() {
Expand Down
4 changes: 2 additions & 2 deletions apps/www/src/components/example/CheckboxExample.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ export default function CheckboxExample() {
<div className="flex gap-3">
<Checkbox />
<Checkbox rounded="sm" variant="red" />
<Checkbox rounded="lg" variant="yellow" />
<Checkbox rounded="full" variant="blue" />
<Checkbox rounded="md" variant="yellow" />
<Checkbox rounded="lg" variant="blue" />
</div>
);
}
2 changes: 1 addition & 1 deletion apps/www/src/components/example/DialogExample.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import { useState } from "react";

import Dialog from "@/components/neobruu/Dialog";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/example/DrawerExample.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import Drawer from "@/components/neobruu/Drawer";
import { useState } from "react";
import Button from "@/components/neobruu/Button";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/example/DropdownExample.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import Dropdown from "@/components/neobruu/Dropdown";

export default function DropdownExample() {
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/example/InputExample.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import Input from "@/components/neobruu/Input";
import { ChangeEvent, useState } from "react";

Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/example/TabsExample.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import Tabs from "@/components/neobruu/Tabs";

export default function TabsExample() {
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/example/TextareaExample.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import Textarea from "@/components/neobruu/Textarea";
import { ChangeEvent, useState } from "react";

Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/example/ToastExample.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import { useState } from "react";
import { HiExclamation } from "react-icons/hi";

Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/neobruu/Accordion.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import React, { useEffect, useMemo, useState } from "react";
import { cva } from "class-variance-authority";
import { FiChevronDown } from "react-icons/fi";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/neobruu/Alert.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import React, { useState } from "react";
import { IoClose } from "react-icons/io5";
import { VariantProps, cva } from "class-variance-authority";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/neobruu/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import * as React from "react";
import Link from "next/link";
import { VariantProps, cva } from "class-variance-authority";
Expand Down
3 changes: 1 addition & 2 deletions apps/www/src/components/neobruu/Checkbox.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import React, { InputHTMLAttributes, useState } from "react";
import { BsCheck } from "react-icons/bs";
import { VariantProps, cva } from "class-variance-authority";
Expand All @@ -23,7 +23,6 @@ const checkboxVariants = cva(
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl",
full: "rounded-full",
},
},
defaultVariants: {
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/neobruu/Dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import React, { useEffect, useState } from "react";
import { IoClose } from "react-icons/io5";
import { VariantProps, cva } from "class-variance-authority";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/neobruu/Drawer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import React, { useEffect, useState } from "react";
import { VariantProps, cva } from "class-variance-authority";

Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/neobruu/Dropdown.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import React, { useState } from "react";
import { FaChevronDown } from "react-icons/fa";
import { VariantProps, cva } from "class-variance-authority";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/neobruu/Tabs.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import React, { useState, ReactNode } from "react";
import { VariantProps, cva } from "class-variance-authority";
import { cn } from "@/lib/utils";
Expand Down
2 changes: 1 addition & 1 deletion apps/www/src/components/neobruu/Toast.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"use client";
'use client';
import React, { useEffect, useState } from "react";
import { VariantProps, cva } from "class-variance-authority";

Expand Down

0 comments on commit ce2601e

Please sign in to comment.