Skip to content

Commit

Permalink
chore(react-with-tailwindcss-compound): tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-bell committed Jan 19, 2024
1 parent 0dee089 commit 73a26f7
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
import React from "react";
import { cva, type VariantProps } from "class-variance-authority";

// note: `data-*` attributes not required, but useful.
// <Nav.Root>
// <Nav.Item>
// <Nav.Link href="#">Home</Nav.Link>
// </Nav.Item>
// <Nav.Item>
// <Nav.Link href="#">Home</Nav.Link>
// </Nav.Item>
// </Nav.Root>;

/* Root
============================================ */

Expand Down Expand Up @@ -51,6 +41,7 @@ export interface RootProps

export const Root: React.FC<RootProps> = ({ className, density, ...props }) => (
<ul
// note: `data-*` attributes not required, but useful.
data-id="nav-root"
data-density={density}
className={root({ className, density })}
Expand Down

0 comments on commit 73a26f7

Please sign in to comment.